fix links
This commit is contained in:
parent
b0c90d8f35
commit
b277a7589f
3 changed files with 48 additions and 2 deletions
46
index.dev.js
Normal file
46
index.dev.js
Normal 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,
|
||||||
|
});
|
|
@ -11,6 +11,6 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="docute"></div>
|
<div id="docute"></div>
|
||||||
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
|
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
|
||||||
<script src="index.js"></script>
|
<script src="index.dev.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
2
index.js
2
index.js
|
@ -11,7 +11,7 @@ new Docute({
|
||||||
// Define some general stuff
|
// Define some general stuff
|
||||||
title: "ScStw - Dokumentation",
|
title: "ScStw - Dokumentation",
|
||||||
language: "Deutsch",
|
language: "Deutsch",
|
||||||
sourcePath: "/de",
|
sourcePath: "https://itsblue.dev/ScStw/app/raw/master/de",
|
||||||
|
|
||||||
// Define the sidebar
|
// Define the sidebar
|
||||||
sidebar: [
|
sidebar: [
|
||||||
|
|
Loading…
Reference in a new issue