From b277a7589f158cf73aa617b3a7a46da9b8ee4a41 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Wed, 13 Jan 2021 19:31:54 +0100 Subject: [PATCH] fix links --- index.dev.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ index.html | 2 +- index.js | 2 +- 3 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 index.dev.js diff --git a/index.dev.js b/index.dev.js new file mode 100644 index 0000000..d13918e --- /dev/null +++ b/index.dev.js @@ -0,0 +1,46 @@ +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: "/de", + + // Define the sidebar + sidebar: [ + { title: "Einleitung", link: "/" }, + { title: "Komponenten", link: "/components" }, + { + title: "Benutzung", + children: [ + { + title: "Grundlagen", + link: "/usage", + }, + ], + }, + ], + + // Define the navbar + nav: [ + { + title: "Dokumentation", + link: "/", + }, + { + title: "Itsblue Webseite", + link: "https://itsblue.de/scstw?ref=ScStwDocumentation", + }, + ], + }, + }, + detectSystemDarkTheme: true, + darkThemeToggler: true, + }); \ No newline at end of file diff --git a/index.html b/index.html index d60a2e8..25c76bc 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,6 @@
- + diff --git a/index.js b/index.js index d13918e..7a8c985 100644 --- a/index.js +++ b/index.js @@ -11,7 +11,7 @@ new Docute({ // Define some general stuff title: "ScStw - Dokumentation", language: "Deutsch", - sourcePath: "/de", + sourcePath: "https://itsblue.dev/ScStw/app/raw/master/de", // Define the sidebar sidebar: [