From 0d9c57ae5c75970c4e281008073554faf6976bf5 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Fri, 15 Jan 2021 17:50:04 +0100 Subject: [PATCH] Publish --- index.dev.js | 2 +- index.js | 84 +++++++++++++++++++++++++++++++++++----------------- 2 files changed, 58 insertions(+), 28 deletions(-) diff --git a/index.dev.js b/index.dev.js index 7576988..82a63cd 100644 --- a/index.dev.js +++ b/index.dev.js @@ -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 diff --git a/index.js b/index.js index aa09dc3..da3e2b1 100644 --- a/index.js +++ b/index.js @@ -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: ` -
- Want more information? Feel free to contact us on our website or at contact@itsblue.de.
- © ${new Date().getFullYear()} Itsblue Development. -
- `, - }); \ No newline at end of file + "/": { + // 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: ` +
+ 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.

+ Sie haben weitere Fragen? Wenden sie sich gerne über unsere Webseite oder per Mail an contact@itsblue.de an uns.
+ © ${new Date().getFullYear()} Itsblue Development. +
+ `, + }, + }, + detectSystemDarkTheme: true, + darkThemeToggler: true, +});