documentation/index.dev.js

54 lines
1.3 KiB
JavaScript
Raw Normal View History

2021-01-13 19:31:54 +01:00
new Docute({
2021-01-13 22:41:58 +01:00
target: "app",
2021-01-13 21:09:24 +01:00
router: {
mode: "history",
},
2021-01-13 22:41:58 +01:00
// Overrides for all languages
2021-01-13 21:09:24 +01:00
overrides: {
"/v0.2/": {
sourcePath: "https://itsblue.dev/ScStw/app/raw/0.1",
2021-01-13 19:31:54 +01:00
},
2021-01-13 21:09:24 +01:00
"/": {
// Define some general stuff
title: "ScStw - Dokumentation",
language: "Deutsch",
sourcePath: "/de",
2021-01-13 19:31:54 +01:00
2021-01-13 21:09:24 +01:00
// Define the sidebar
sidebar: [
2021-01-13 22:41:58 +01:00
{
title: "Einleitung",
children: [
{
title: "Über die ScStw",
link: "/",
},
{
title: "Komponenten",
link: "/components",
},
],
},
2021-01-13 21:09:24 +01:00
{
title: "Benutzung",
children: [
{
title: "Grundlagen",
link: "/usage",
},
],
},
],
2021-01-13 19:31:54 +01:00
},
2021-01-13 21:09:24 +01:00
},
detectSystemDarkTheme: true,
darkThemeToggler: true,
footer: `
2021-01-13 22:41:58 +01:00
<div style="border-top:1px solid var(--border-color);padding-top:0px;margin: 0px 0;color:#999999;font-size: .9rem;">
2021-01-13 21:09:24 +01:00
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>
`,
});