diff options
author | Henk Verlinde <henk@ventizo.com> | 2022-01-28 15:52:51 +0300 |
---|---|---|
committer | Henk Verlinde <henk@ventizo.com> | 2022-01-28 15:52:51 +0300 |
commit | f7bb574a9bcead71642e3ce131f4dffcf5c23083 (patch) | |
tree | ec4054071a3ea7a19f6909f7286b23b86a2a0730 /config | |
parent | 4b3e21abb51cafa2cec64f0703deed5a057a681b (diff) |
feat: add auto new docs tree
Diffstat (limited to 'config')
-rw-r--r-- | config/_default/menus/menus.en.toml | 33 | ||||
-rw-r--r-- | config/_default/params.toml | 1 |
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"] |