You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.5 KiB
78 lines
2.5 KiB
module.exports = { |
|
title: 'DeinServerHost Wiki', |
|
tagline: 'Das DeinServerHost Wiki bietet dir Informationen rund um uns und deine Dienste bei uns.', |
|
url: 'https://deinserverhost.de/', |
|
baseUrl: '/wiki/', |
|
onBrokenLinks: 'throw', |
|
onBrokenMarkdownLinks: 'warn', |
|
favicon: 'img/favicon.png', |
|
organizationName: 'lightgreenwings', // Usually your GitHub org/user name. |
|
projectName: 'dsh-docu', // Usually your repo name. |
|
themeConfig: { |
|
colorMode: { |
|
defaultMode: 'dark', |
|
disableSwitch: true, |
|
respectPrefersColorScheme: false, |
|
}, |
|
navbar: { |
|
title: '', |
|
logo: { |
|
alt: 'DeinServerHost Dokumentation', |
|
src: 'img/deinserverhost.png', |
|
}, |
|
items: [ |
|
{ |
|
href: 'https://deinserverhost.de/store/login.php', |
|
label: 'Zum Kundenbereich', |
|
position: 'right', |
|
}, |
|
{ |
|
type: 'localeDropdown', |
|
position: 'left', |
|
}, |
|
], |
|
}, |
|
footer: { |
|
style: 'dark', |
|
links: [], |
|
copyright: `Copyright © 2013 - ${new Date().getFullYear()} DeinServerHost | <a href="https://deinserverhost.de/impressum.php">Impressum</a> <a href="https://deinserverhost.de/agb.php">AGB</a> <a href="https://deinserverhost.de/datenschutz.php">Datenschutz</a>`, |
|
}, |
|
}, |
|
presets: [ |
|
[ |
|
'@docusaurus/preset-classic', |
|
{ |
|
docs: { |
|
sidebarPath: require.resolve('./sidebars.js'), |
|
path: 'i18n/de/docusaurus-plugin-content-docs/current', |
|
routeBasePath: '/', |
|
}, |
|
theme: { |
|
customCss: require.resolve('./src/css/custom.css'), |
|
}, |
|
}, |
|
], |
|
], |
|
i18n: { |
|
defaultLocale: 'de', |
|
locales: ['de', 'en'], |
|
localeConfigs: { |
|
en: { |
|
htmlLang: 'en-GB', |
|
}, |
|
de: { |
|
htmlLang: 'de-DE', |
|
}, |
|
}, |
|
}, |
|
plugins: [ |
|
[ |
|
'@docusaurus/plugin-content-docs', |
|
{ |
|
sidebarItemsGenerator: async ({defaultSidebarItemsGenerator, ...args}) => { |
|
return defaultSidebarItemsGenerator(args); |
|
} |
|
} |
|
] |
|
] |
|
};
|
|
|