Files
docs_projectmycelium/docusaurus.config.js
mik-tf c769942374 init
2025-11-25 15:27:56 -05:00

89 lines
2.2 KiB
JavaScript

// @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: 'Project Mycelium Docs',
logo: {
alt: 'Project Mycelium Logo',
src: 'img/mainlogo.png',
},
items: [
{ type: 'doc', docId: 'overview-index', position: 'left', label: 'Overview' },
{ 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;