Newer
Older
/** @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',
logo: {
alt: 'FITKO',
src: '/images/logo-fitko.svg',
},
items: [
{to: '/docs', label: 'Dokumentation', position: 'left'},
{to: '/news', label: 'News', position: 'left'},
// {to: '/concepts', label: 'Konzepte', position: 'left'},
// {to: '/operations', label: 'Betriebshandbuch', position: 'left'},
/*{
type: 'docsVersionDropdown',
position: 'right',
dropdownActiveClassDisabled: true,
docsPluginId: 'default',
}
{to: '/portal/', label: 'Self-Service-Portal', position: 'right'},*/
],
},
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('./docs/sidebar.js'),
editUrl: ({ version, versionDocsDirPath, docPath }) =>

David Schwarzmann
committed
`https://git.fitko.de/fit-connect/docs/-/edit/${gitBranch}/${versionDocsDirPath}/${docPath}`,
routeBasePath: 'docs',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
blog: {
path: './news',
routeBasePath: 'news',
blogSidebarTitle: 'News',
blogDescription: 'News bezüglich FIT-Connect von FITKO',
blogTitle: 'News',
showReadingTime: false,
feedOptions: {
type: 'all',
language: 'de',
copyright: `Copyright © ${new Date().getFullYear()} FITKO`,
},
},
//
// plugins: [
// [
// '@docusaurus/plugin-content-docs',
// {
// id: 'concepts',
// path: 'concepts',
// routeBasePath: 'concepts',
// sidebarPath: require.resolve('./concepts/sidebar.js'),
// },
// ]
// ]