Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/** @type {import('@docusaurus/types').DocusaurusConfig} */
const gitBranch = process.env.GIT_BRANCH || 'main'
const baseUrl = process.env.DOCUSAURUS_BASE_URL || '/'
module.exports = {
title: 'FIT-Connect',
url: 'https://docs.fitko.de',
baseUrl,
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
favicon: 'favicon.png',
i18n: {
defaultLocale: 'de',
locales: ['de'],
},
themeConfig: {
colorMode: {
disableSwitch: true,
},
prism: {
additionalLanguages: ['java', 'csharp'],
},
navbar: {
title: 'FIT-Connect Dokumentation',
logo: {
alt: 'FITKO',
src: '/images/logo-fitko.svg',
},
items: [
/*{
type: 'docsVersionDropdown',
position: 'right',
dropdownActiveClassDisabled: true,
docsPluginId: 'default',
},*/
],
},
footer: {
style: 'light',

David Schwarzmann
committed
copyright: `Copyright © ${new Date().getFullYear()} FITKO (Föderale IT-Kooperation) | Zum Gottschalkhof 3 | 60594 Frankfurt am Main | E-Mail: poststelle@fitko.de | https://www.fitko.de | Die FITKO ist eine Anstalt des öffentlichen Rechts. Sie wird vertreten durch die Präsidentin Frau Dr. Annette Schmidt.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: ({ version, versionDocsDirPath, docPath }) =>

David Schwarzmann
committed
`https://git.fitko.de/fit-connect/docs/-/edit/${gitBranch}/${versionDocsDirPath}/${docPath}`,