This commit is contained in:
Dorian Zedler 2021-01-15 17:50:04 +01:00
parent 933a0474f5
commit 0d9c57ae5c
Signed by: dorian
GPG key ID: 989DE36109AFA354
2 changed files with 58 additions and 28 deletions

View file

@ -7,7 +7,7 @@ new Docute({
// Overrides for all languages
overrides: {
"/v0.2/": {
sourcePath: "https://itsblue.dev/ScStw/app/raw/0.1",
sourcePath: "https://itsblue.dev/ScStw/documentation/raw/master/de",
},
"/": {
// Define some general stuff

View file

@ -1,30 +1,60 @@
new Docute({
// Overrides for all languages
router: {
mode: "history",
},
overrides: {
"/v0.2/": {
sourcePath: "https://itsblue.dev/ScStw/app/raw/0.1",
},
"/": {
// Define some general stuff
title: "ScStw - Dokumentation",
language: "Deutsch",
sourcePath: "https://itsblue.dev/ScStw/documentation/raw/master/de",
target: "app",
router: {
mode: "history",
},
// Define the sidebar
sidebar: [
{ title: "Wartung", link: "/maintainance" },
],
},
// Overrides for all languages
overrides: {
"/v0.2/": {
sourcePath: "https://itsblue.dev/ScStw/documentation/raw/master/de",
},
detectSystemDarkTheme: true,
darkThemeToggler: true,
footer: `
<div style="border-top:1px solid var(--border-color);padding-top:30px;margin: 40px 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>
`,
});
"/": {
// Define some general stuff
title: "ScStw - Dokumentation",
language: "Deutsch",
sourcePath: "https://itsblue.dev/ScStw/documentation/raw/master/de",
// Define the sidebar
sidebar: [
{
title: "Einleitung",
children: [
{
title: "Über die ScStw",
link: "/",
},
{
title: "Komponenten",
link: "/introduction/components",
},
],
},
{
title: "Benutzung",
children: [
{
title: "Grundlagen",
link: "/usage/basics",
},
{
title: "Konfiguration des Rennens",
link: "/usage/race-configuration",
},
],
},
],
// Define footer
footer: `
<div style="border-top:1px solid var(--border-color);padding-top:0px;margin: 0px 0;color:#999999;font-size: .9rem;">
Hinweis zum Sprachgebrauch: Aus Gründen der besseren Lesbarkeit wird auf die Verwendung der männlichen und weiblichen Sprachform verzichtet. Sämtliche Personenbezeichnungen gelten für alle Geschlechter. <br><br>
Sie haben weitere Fragen? Wenden sie sich gerne <a href="https://itsblue.de/contact" target="blank">über unsere Webseite</a> oder per Mail an <a href="mailto:contact@itsblue.de">contact@itsblue.de</a> an uns.<br>
&copy; ${new Date().getFullYear()} Itsblue Development.
</div>
`,
},
},
detectSystemDarkTheme: true,
darkThemeToggler: true,
});