Publish
This commit is contained in:
parent
933a0474f5
commit
0d9c57ae5c
2 changed files with 58 additions and 28 deletions
|
@ -7,7 +7,7 @@ new Docute({
|
||||||
// Overrides for all languages
|
// Overrides for all languages
|
||||||
overrides: {
|
overrides: {
|
||||||
"/v0.2/": {
|
"/v0.2/": {
|
||||||
sourcePath: "https://itsblue.dev/ScStw/app/raw/0.1",
|
sourcePath: "https://itsblue.dev/ScStw/documentation/raw/master/de",
|
||||||
},
|
},
|
||||||
"/": {
|
"/": {
|
||||||
// Define some general stuff
|
// Define some general stuff
|
||||||
|
|
48
index.js
48
index.js
|
@ -1,11 +1,13 @@
|
||||||
new Docute({
|
new Docute({
|
||||||
// Overrides for all languages
|
target: "app",
|
||||||
router: {
|
router: {
|
||||||
mode: "history",
|
mode: "history",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// Overrides for all languages
|
||||||
overrides: {
|
overrides: {
|
||||||
"/v0.2/": {
|
"/v0.2/": {
|
||||||
sourcePath: "https://itsblue.dev/ScStw/app/raw/0.1",
|
sourcePath: "https://itsblue.dev/ScStw/documentation/raw/master/de",
|
||||||
},
|
},
|
||||||
"/": {
|
"/": {
|
||||||
// Define some general stuff
|
// Define some general stuff
|
||||||
|
@ -15,16 +17,44 @@ new Docute({
|
||||||
|
|
||||||
// Define the sidebar
|
// Define the sidebar
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{ title: "Wartung", link: "/maintainance" },
|
{
|
||||||
|
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: `
|
||||||
|
<div style="border-top:1px solid var(--border-color);padding-top:0px;margin: 0px 0;color:#999999;font-size: .9rem;">
|
||||||
|
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. <br><br>
|
||||||
|
Sie haben weitere Fragen? Wenden sie sich gerne <a href="https://itsblue.de/contact" target="blank">über unsere Webseite</a> oder per Mail an <a href="mailto:contact@itsblue.de">contact@itsblue.de</a> an uns.<br>
|
||||||
|
© ${new Date().getFullYear()} Itsblue Development.
|
||||||
|
</div>
|
||||||
|
`,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
detectSystemDarkTheme: true,
|
detectSystemDarkTheme: true,
|
||||||
darkThemeToggler: true,
|
darkThemeToggler: true,
|
||||||
footer: `
|
|
||||||
<div style="border-top:1px solid var(--border-color);padding-top:30px;margin: 40px 0;color:#999999;font-size: .9rem;">
|
|
||||||
Want more information? Feel free to contact us <a href="https://itsblue.de/contact" target="blank">on our website</a> or at <a href="mailto:contact@itsblue.de">contact@itsblue.de</a>.<br>
|
|
||||||
© ${new Date().getFullYear()} Itsblue Development.
|
|
||||||
</div>
|
|
||||||
`,
|
|
||||||
});
|
});
|
Loading…
Reference in a new issue