fix links

This commit is contained in:
Dorian Zedler 2021-01-13 19:31:54 +01:00
parent b0c90d8f35
commit b277a7589f
Signed by: dorian
GPG key ID: 989DE36109AFA354
3 changed files with 48 additions and 2 deletions

46
index.dev.js Normal file
View file

@ -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,
});

View file

@ -11,6 +11,6 @@
<body>
<div id="docute"></div>
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
<script src="index.js"></script>
<script src="index.dev.js"></script>
</body>
</html>

View file

@ -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: [