Some updates
This commit is contained in:
parent
18e071f85d
commit
2fd405f519
3 changed files with 27 additions and 6 deletions
10
README.md
10
README.md
|
@ -1,3 +1,11 @@
|
|||
# User documentation
|
||||
|
||||
User documentation for the Itsblue Speed Climbing Stopwatch.
|
||||
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
|
21
index.dev.js
21
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: `
|
||||
<div style="border-top:1px solid var(--border-color);padding-top:30px;margin: 40px 0;color:#999999;font-size: .9rem;">
|
||||
<div style="border-top:1px solid var(--border-color);padding-top:0px;margin: 0px 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>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<link rel="stylesheet" href="https://unpkg.com/docute@4/dist/docute.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="docute"></div>
|
||||
<div id="app"></div>
|
||||
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
|
||||
<script src="index.dev.js"></script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue