import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
const config: Config = {
title: 'Math-Physics-ML MCP',
tagline: 'GPU-accelerated MCP servers for computational mathematics, physics simulations, and machine learning',
favicon: 'img/favicon.ico',
// Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future
future: {
v4: true, // Improve compatibility with the upcoming Docusaurus v4
},
// Set the production url of your site here
url: 'https://andylbrummer.github.io',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/math-mcp/',
// GitHub pages deployment config.
organizationName: 'andylbrummer', // GitHub username
projectName: 'math-mcp', // Repo name
trailingSlash: false,
deploymentBranch: 'gh-pages',
onBrokenLinks: 'throw',
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
{
docs: {
sidebarPath: './sidebars.ts',
routeBasePath: '/',
},
blog: false,
theme: {
customCss: './src/css/custom.css',
},
} satisfies Preset.Options,
],
],
themeConfig: {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
colorMode: {
respectPrefersColorScheme: true,
},
navbar: {
title: 'Math-Physics-ML MCP',
logo: {
alt: 'Math-Physics-ML MCP Logo',
src: 'img/logo.svg',
},
items: [
{
type: 'docSidebar',
sidebarId: 'docsSidebar',
position: 'left',
label: 'Documentation',
},
{
type: 'docSidebar',
sidebarId: 'apiSidebar',
position: 'left',
label: 'API Reference',
},
{
href: 'https://github.com/beagle/math-mcp',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Documentation',
items: [
{
label: 'Getting Started',
to: '/getting-started/installation',
},
{
label: 'Architecture',
to: '/concepts/architecture',
},
{
label: 'API Reference',
to: '/api/overview',
},
],
},
{
title: 'MCP Servers',
items: [
{
label: 'Math MCP',
to: '/api/math-mcp',
},
{
label: 'Quantum MCP',
to: '/api/quantum-mcp',
},
{
label: 'Molecular MCP',
to: '/api/molecular-mcp',
},
{
label: 'Neural MCP',
to: '/api/neural-mcp',
},
],
},
{
title: 'Resources',
items: [
{
label: 'GitHub',
href: 'https://github.com/beagle/math-mcp',
},
{
label: 'MCP Protocol',
href: 'https://modelcontextprotocol.io',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Math-Physics-ML MCP. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['python', 'bash', 'json'],
},
} satisfies Preset.ThemeConfig,
};
export default config;