// @ts-check import { themes as prismThemes } from 'prism-react-renderer'; /** @type {import('@docusaurus/types').Config} */ const config = { title: 'Project Mycelium Docs', tagline: 'Network, Cloud, VDC, Agents, and Hosters documentation for Project Mycelium', favicon: 'img/favicon.ico', url: 'https://docs.projectmycelium.com', baseUrl: '/', organizationName: 'projectmycelium', projectName: 'docs_projectmycelium', trailingSlash: true, onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', i18n: { defaultLocale: 'en', locales: ['en'], }, presets: [ [ 'classic', /** @type {import('@docusaurus/preset-classic').Options} */ ({ docs: { routeBasePath: '/', sidebarPath: './sidebars.js', }, blog: false, theme: { customCss: './src/css/custom.css', }, }), ], ], themes: ['@docusaurus/theme-mermaid'], markdown: { mermaid: true, }, themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ navbar: { title: '', logo: { alt: 'Project Mycelium Logo', src: 'img/logo_light.png', srcDark: 'img/logo_dark.png', }, items: [ { type: 'doc', docId: 'home', position: 'left', label: 'Home' }, { to: '/network', label: 'Network', position: 'left' }, { to: '/cloud', label: 'Cloud', position: 'left' }, { to: '/vdc', label: 'VDC', position: 'left' }, { to: '/ai-agent-framework', label: 'AI Agent Framework', position: 'left' }, { to: '/hosters', label: 'Hosters', position: 'left' }, { href: 'https://www.projectmycelium.com', label: 'Main Site', position: 'right', }, ], }, footer: { style: 'light', links: [], copyright: `Copyright © ${new Date().getFullYear()} Project Mycelium`, }, prism: { theme: prismThemes.github, darkTheme: prismThemes.dracula, }, colorMode: { defaultMode: 'light', disableSwitch: false, respectPrefersColorScheme: false, }, }), }; export default config;