Files
FEDEO/docs-site/docusaurus.config.ts
florianfederspiel a4735818fb
All checks were successful
Build and Push Docker Images / verify-docs-sync (push) Successful in 8s
Build and Push Docker Images / build-backend (push) Successful in 14s
Build and Push Docker Images / build-frontend (push) Successful in 14s
Build and Push Docker Images / build-docs (push) Successful in 1m48s
Behebe Docs-Build in CI durch stabile Webpack-Overrides
2026-04-22 15:09:12 +02:00

90 lines
1.8 KiB
TypeScript

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;