From 2fd405f51996fe69b9acf5d6fd6308ccebe29d7a Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Wed, 13 Jan 2021 22:41:58 +0100 Subject: [PATCH] Some updates --- README.md | 10 +++++++++- index.dev.js | 21 +++++++++++++++++---- index.html | 2 +- 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index c3b31c8..77fee50 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # User documentation -User documentation for the Itsblue Speed Climbing Stopwatch. \ No newline at end of file +User documentation for the Itsblue Speed Climbing Stopwatch. + +# Development + +For development, run this in the project root: +``` +python -m SimpleHTTPServer +``` +The documentation server will run on localhost:8000 \ No newline at end of file diff --git a/index.dev.js b/index.dev.js index dd8ec43..16437dc 100644 --- a/index.dev.js +++ b/index.dev.js @@ -1,8 +1,10 @@ new Docute({ - // Overrides for all languages + target: "app", router: { mode: "history", }, + + // Overrides for all languages overrides: { "/v0.2/": { sourcePath: "https://itsblue.dev/ScStw/app/raw/0.1", @@ -15,8 +17,19 @@ new Docute({ // Define the sidebar sidebar: [ - { title: "Einleitung", link: "/" }, - { title: "Komponenten", link: "/components" }, + { + title: "Einleitung", + children: [ + { + title: "Über die ScStw", + link: "/", + }, + { + title: "Komponenten", + link: "/components", + }, + ], + }, { title: "Benutzung", children: [ @@ -32,7 +45,7 @@ new Docute({ 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.
diff --git a/index.html b/index.html index 25c76bc..963e193 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ -
+