init
This commit is contained in:
88
docusaurus.config.js
Normal file
88
docusaurus.config.js
Normal file
@@ -0,0 +1,88 @@
|
||||
// @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;
|
||||
Reference in New Issue
Block a user