Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorHenk Verlinde <henk@ventizo.com>2022-01-28 15:52:51 +0300
committerHenk Verlinde <henk@ventizo.com>2022-01-28 15:52:51 +0300
commitf7bb574a9bcead71642e3ce131f4dffcf5c23083 (patch)
treeec4054071a3ea7a19f6909f7286b23b86a2a0730 /config
parent4b3e21abb51cafa2cec64f0703deed5a057a681b (diff)
feat: add auto new docs tree
Diffstat (limited to 'config')
-rw-r--r--config/_default/menus/menus.en.toml33
-rw-r--r--config/_default/params.toml1
2 files changed, 30 insertions, 4 deletions
diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml
index 260f33a..4561255 100644
--- a/config/_default/menus/menus.en.toml
+++ b/config/_default/menus/menus.en.toml
@@ -10,11 +10,23 @@
identifier = "help"
url = "/docs/help/"
-[[docs]]
+# [[docs]]
+# name = "Lorem"
+# weight = 70
+# identifier = "lorem"
+# url = "/docs/lorem/"
+
+[[guide]]
name = "Lorem"
- weight = 70
+ weight = 10
+ identifier = "lorem"
+ url = "/guide/lorem/"
+
+[[tutorial]]
+ name = "Lorem"
+ weight = 10
identifier = "lorem"
- url = "/docs/lorem/"
+ url = "/tutorial/lorem/"
[[main]]
name = "Docs"
@@ -23,6 +35,21 @@
weight = 10
[[main]]
+ name = "Guide"
+ url = "/guide/lorem/ipsum/"
+ weight = 11
+
+[[main]]
+ name = "Tutorial"
+ url = "/tutorial/lorem/ipsum/"
+ weight = 12
+
+[[main]]
+ name = "Hints"
+ url = "/hints/lorem/ipsum/"
+ weight = 13
+
+[[main]]
name = "Blog"
url = "/blog/"
weight = 20
diff --git a/config/_default/params.toml b/config/_default/params.toml
index 09fa32a..b7451a0 100644
--- a/config/_default/params.toml
+++ b/config/_default/params.toml
@@ -92,4 +92,3 @@ lastMod = false
[menu.section]
auto = true
collapsibleSidebar = true
- mainSections = ["docs"]