const path = require('path') const organizationName = 'apache' // Usually your GitHub name. const projectName = 'hertzbeat' // Usually your repo name. const deploymentBranch = 'asf-site' const branch = 'master' const repoUrl = `https://github.com/apache/${projectName}` const cdnUrl = null module.exports = { title: 'Apache HertzBeat - Agentless Monitoring System', tagline: 'AI-powered open source real-time monitoring system for metrics, logs, alerts, and observability. No agent required.', url: 'https://hertzbeat.apache.org', baseUrl: '/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'throw', favicon: '/img/hertzbeat-logo.svg', organizationName, projectName, deploymentBranch, customFields: { repoUrl, cdnUrl, }, i18n: { defaultLocale: 'en', locales: ['zh-cn', 'en'], }, themeConfig: { matomo: { matomoUrl: 'https://analytics.apache.org/', siteId: '67', phpLoader: 'matomo.php', jsLoader: 'matomo.js', }, image: '/img/hertzbeat-logo.svg', liveCodeBlock: { playgroundPosition: 'bottom', }, metadata: [ { name: 'keywords', content: 'monitoring system, agentless monitoring, observability platform, metrics collection, log aggregation, alert management, prometheus compatible, open source monitoring, real-time monitoring, infrastructure monitoring, application monitoring, database monitoring, cloud monitoring, kubernetes monitoring, docker monitoring, network monitoring, APM, uptime monitoring, 监控系统, 开源监控', }, { name: 'description', content: 'Apache HertzBeat is an AI-powered, agentless open source monitoring system. Monitor 200+ services including databases, servers, applications, and networks. Unified metrics, logs, alerts, and notifications in one platform.', }, { property: 'og:type', content: 'website', }, { property: 'og:title', content: 'Apache HertzBeat - Agentless Monitoring System', }, { property: 'og:description', content: 'AI-powered open source monitoring for metrics, logs, alerts. No agent installation required. Monitor MySQL, PostgreSQL, Linux, Kubernetes, Docker, and 200+ services.', }, { name: 'twitter:card', content: 'summary_large_image', }, { name: 'author', content: 'Apache HertzBeat Community', }, ], colorMode: { defaultMode: 'light', disableSwitch: false, respectPrefersColorScheme: true, }, prism: { theme: require('prism-react-renderer').themes.github, darkTheme: require('prism-react-renderer').themes.dracula, additionalLanguages: ['java'], }, algolia: { apiKey: '9298a61d23b2842ce077324283fb0abb', indexName: 'hertzbeat', appId: 'JMM99UL1H5', contextualSearch: true, }, navbar: { title: 'HertzBeat', logo: { alt: 'An open source, real-time monitoring tool with custom-monitor and agentless.', src: '/img/hertzbeat-brand.svg', }, items: [ { label: 'Docs', position: 'left', to: '/docs/', }, { label: 'blog', position: 'left', to: '/blog/', }, { label: 'download', position: 'left', to: '/docs/download', }, { label: 'Community', position: 'left', items: [ { label: 'discuss', to: '/docs/community/contact', }, { label: 'contribution', to: '/docs/community/contribution', }, { label: 'join_the_mailing_lists', to: '/docs/community/mailing_lists', }, { label: 'become_committer', to: '/docs/community/become_committer', }, { label: 'become_pmc_member', href: '/docs/community/become_pmc_member', }, { label: 'new_committer_process', to: '/docs/community/new_committer_process', }, { label: 'new_pmc_member_process', to: '/docs/community/new_pmc_ember_process', }, { label: 'documentation_notice', to: '/docs/community/document', }, { label: 'submit_code', to: '/docs/community/submit_code', }, { label: 'code_style_and_quality_guide', to: '/docs/community/code_style_and_quality_guide' }, { label: 'how_to_release', to: '/docs/community/how_to_release' }, { label: 'how_to_verify_release', to: '/docs/community/how_to_verify_release' } ], }, { label : 'team', position: 'left', to : '/team/', activeBaseRegex: `/team`, }, { label: 'ASF', position: 'left', items: [ { label: 'Foundation', to: 'https://www.apache.org/', }, { label: 'License', to: 'https://www.apache.org/licenses/', }, { label: 'Events', to: 'https://www.apache.org/events/current-event.html', }, { label: 'Security', to: '/docs/help/security_model', }, { label: 'Sponsorship', to: 'https://www.apache.org/foundation/sponsorship.html', }, { label: 'Privacy', to: 'https://privacy.apache.org/policies/privacy-policy-public.html', }, { label: 'Thanks', to: 'https://www.apache.org/foundation/sponsors', } ], }, { label: 'Others', position: 'left', items: [ { label: 'contributors', to : '/team/', activeBaseRegex: `/team`, }, { label: 'development', to: '/docs/community/development', }, { label: 'kanban', href: 'https://github.com/orgs/apache/projects/348', }, { label: 'resource', to: '/docs/others/resource', } ], }, { type: 'docsVersionDropdown', position: 'right', dropdownActiveClassDisabled: true, }, { type: 'localeDropdown', position: 'right', }, { href: repoUrl, position: 'right', className: 'header-github-link' }, { href: 'https://x.com/hertzbeat1024', position: 'right', className: 'header-twitter-link' }, { href: 'https://www.youtube.com/channel/UCri75zfWX0GHqJFPENEbLow', position: 'right', className: 'header-youtube-link' }, { href: 'https://discord.gg/Fb6M73htGr', position: 'right', className: 'header-discord-link' } ], }, footer: { style: 'light', links: [ { title: 'intro', items: [ { label: 'quickstart', to: '/docs/start/quickstart', }, { label: 'help', to: '/docs/help/guide', }, ], }, { title: 'contact', items: [ { label: 'discussion', href: 'https://github.com/apache/hertzbeat/discussions/', }, { label: 'contact', to: '/docs/community/contact', } ], }, { title: 'resource', items: [ { label: 'github', href: 'https://github.com/apache/hertzbeat', }, { label: 'relate', to: '/docs/others/resource', }, ], }, ], logo: { alt: 'HertzBeat', src: '/img/hertzbeat-brand.svg', href: 'https://github.com/apache/hertzbeat', }, copyright: `
Apache logo
Copyright © ${new Date().getFullYear()} The Apache Software Foundation. Apache HertzBeat™, HertzBeat™, and its feather logo are trademarks of The Apache Software Foundation.
`, }, }, presets: [ [ '@docusaurus/preset-classic', { docs: { sidebarPath: require.resolve('./sidebars.json'), // Please change this to your repo. editUrl: `${repoUrl}/edit/${branch}/home/`, editLocalizedFiles: true, remarkPlugins: [ [require('@docusaurus/remark-plugin-npm2yarn'), { sync: true }], ], lastVersion: '1.8.0', versions: { current: { label: 'current', }, }, }, blog: { showReadingTime: true, postsPerPage: 1, feedOptions: { type: 'all', copyright: `Copyright © ${new Date().getFullYear()} Apache HertzBeat™.`, }, // Please change this to your repo. editUrl: `${repoUrl}/edit/${branch}/home/`, editLocalizedFiles: true, blogSidebarCount: 'ALL', onUntruncatedBlogPosts: 'ignore', onInlineAuthors: 'ignore' }, theme: { customCss: require.resolve('./src/css/custom.css'), }, sitemap: { changefreq: 'weekly', priority: 0.5, ignorePatterns: ['/tags/**'], filename: 'sitemap.xml', }, }, ], ], plugins: [ [ '@docusaurus/plugin-client-redirects', { fromExtensions: ['html'], }, ], 'docusaurus-plugin-matomo', [ '@docusaurus/plugin-pwa', { debug: false, offlineModeActivationStrategies: ['appInstalled', 'queryString'], swRegister: false, pwaHead: [ { tagName: 'link', rel: 'icon', href: 'img/hertzbeat-logo.svg', }, { tagName: 'link', rel: 'manifest', href: 'manifest.json', }, { tagName: 'meta', name: 'theme-color', content: 'rgb(234, 90, 7)', }, { tagName: 'meta', name: 'mobile-web-app-capable', content: 'yes', }, { tagName: 'meta', name: 'apple-mobile-web-app-status-bar-style', content: '#000', }, { tagName: 'link', rel: 'apple-touch-icon', href: 'img/hertzbeat-logo.svg', }, { tagName: 'link', rel: 'mask-icon', href: 'img/hertzbeat-logo.svg', color: 'rgb(234, 90, 7)', }, { tagName: 'meta', name: 'msapplication-TileImage', content: 'img/hertzbeat-logo.svg', }, { tagName: 'meta', name: 'msapplication-TileColor', content: '#000', }, ], }, ], ], themes: ['@docusaurus/theme-live-codeblock'], scripts: [ { src: "https://widget.kapa.ai/kapa-widget.bundle.js", "data-website-id": "cb9dd0e9-5736-4572-be75-fd2ebe7443b0", "data-project-name": "Apache HertzBeat", "data-project-color": "#444FD9", "data-project-logo": "https://hertzbeat.apache.org/zh-cn/assets/files/hertzbeat-logo-f92c500146ae43b9cb901600cd274d67.png", async: true, }, ], }