feat: add auto new docs tree
This commit is contained in:
@ -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 = "/docs/lorem/"
|
||||
url = "/guide/lorem/"
|
||||
|
||||
[[tutorial]]
|
||||
name = "Lorem"
|
||||
weight = 10
|
||||
identifier = "lorem"
|
||||
url = "/tutorial/lorem/"
|
||||
|
||||
[[main]]
|
||||
name = "Docs"
|
||||
@ -22,6 +34,21 @@
|
||||
# url = "/docs/1.0/prologue/introduction/"
|
||||
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/"
|
||||
|
@ -92,4 +92,3 @@ lastMod = false
|
||||
[menu.section]
|
||||
auto = true
|
||||
collapsibleSidebar = true
|
||||
mainSections = ["docs"]
|
||||
|
Reference in New Issue
Block a user