import type { Config } from '@docusaurus/types'; import { themes as prismThemes } from 'prism-react-renderer'; const config: Config = { title: 'FEDEO Docs', tagline: 'Versionierte Funktionsdokumentation für FEDEO', url: 'https://app.fedeo.de', baseUrl: '/docs/', onBrokenLinks: 'throw', markdown: { hooks: { onBrokenMarkdownLinks: 'warn', }, }, i18n: { defaultLocale: 'de', locales: ['de'], }, presets: [ [ 'classic', { docs: { path: '../docs', routeBasePath: '/', sidebarPath: './sidebars.ts', editUrl: 'https://github.com/DEIN-ORG/DEIN-REPO/tree/main/', }, blog: false, theme: { customCss: './src/css/custom.css', }, }, ], ], themeConfig: { navbar: { title: 'FEDEO Docs', items: [ { type: 'docSidebar', sidebarId: 'docsSidebar', position: 'left', label: 'Dokumentation', }, { href: 'https://github.com/DEIN-ORG/DEIN-REPO', label: 'GitHub', position: 'right', }, ], }, footer: { style: 'dark', links: [ { title: 'Dokumentation', items: [ { label: 'Funktionsübersicht', to: '/funktionen/uebersicht', }, ], }, { title: 'Projekt', items: [ { label: 'Repository', href: 'https://github.com/DEIN-ORG/DEIN-REPO', }, ], }, ], copyright: `Copyright © ${new Date().getFullYear()} FEDEO`, }, prism: { theme: prismThemes.github, darkTheme: prismThemes.dracula, }, }, }; export default config;