documentation/index.dev.js
2021-01-13 22:41:58 +01:00

53 lines
1.3 KiB
JavaScript

new Docute({
target: "app",
router: {
mode: "history",
},
// Overrides for all languages
overrides: {
"/v0.2/": {
sourcePath: "https://itsblue.dev/ScStw/app/raw/0.1",
},
"/": {
// Define some general stuff
title: "ScStw - Dokumentation",
language: "Deutsch",
sourcePath: "/de",
// Define the sidebar
sidebar: [
{
title: "Einleitung",
children: [
{
title: "Über die ScStw",
link: "/",
},
{
title: "Komponenten",
link: "/components",
},
],
},
{
title: "Benutzung",
children: [
{
title: "Grundlagen",
link: "/usage",
},
],
},
],
},
},
detectSystemDarkTheme: true,
darkThemeToggler: true,
footer: `
<div style="border-top:1px solid var(--border-color);padding-top:0px;margin: 0px 0;color:#999999;font-size: .9rem;">
Want more information? Feel free to contact us <a href="https://itsblue.de/contact" target="blank">on our website</a> or at <a href="mailto:contact@itsblue.de">contact@itsblue.de</a>.<br>
&copy; ${new Date().getFullYear()} Itsblue Development.
</div>
`,
});