feat: add versioning setup
This commit is contained in:
@ -62,6 +62,7 @@ rel = "sitemap"
|
||||
|
||||
[permalinks]
|
||||
blog = "/blog/:title/"
|
||||
docs = "/docs/1.0/:sections[1:]/:title/"
|
||||
|
||||
[minify.tdewolff.html]
|
||||
keepWhitespace = false
|
||||
|
@ -12,7 +12,8 @@
|
||||
|
||||
[[main]]
|
||||
name = "Docs"
|
||||
url = "/docs/prologue/introduction/"
|
||||
# url = "/docs/prologue/introduction/"
|
||||
url = "/docs/1.0/prologue/introduction/"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
|
@ -6,6 +6,9 @@ titleSeparator = "-"
|
||||
titleAddition = "Modern Documentation Theme"
|
||||
description = "Doks is a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default."
|
||||
|
||||
## Documentation
|
||||
docsVersion = "1.0"
|
||||
|
||||
## Open Graph
|
||||
images = ["doks.png"]
|
||||
ogLocale = "en_US"
|
||||
@ -79,4 +82,4 @@ editPage = false
|
||||
kaTex = false
|
||||
collapsibleSidebar = true
|
||||
multilingualMode = false
|
||||
docsVersioning = false # Not yet functional
|
||||
docsVersioning = true
|
||||
|
Reference in New Issue
Block a user