config: switch versioning off per default
This commit is contained in:
parent
b290c57d3d
commit
0b9c219922
|
@ -62,7 +62,7 @@ rel = "sitemap"
|
||||||
|
|
||||||
[permalinks]
|
[permalinks]
|
||||||
blog = "/blog/:title/"
|
blog = "/blog/:title/"
|
||||||
docs = "/docs/1.0/:sections[1:]/:title/"
|
# docs = "/docs/1.0/:sections[1:]/:title/"
|
||||||
|
|
||||||
[minify.tdewolff.html]
|
[minify.tdewolff.html]
|
||||||
keepWhitespace = false
|
keepWhitespace = false
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
name = "Docs"
|
name = "Docs"
|
||||||
# url = "/docs/prologue/introduction/"
|
url = "/docs/prologue/introduction/"
|
||||||
url = "/docs/1.0/prologue/introduction/"
|
# url = "/docs/1.0/prologue/introduction/"
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
[[main]]
|
[[main]]
|
||||||
|
|
|
@ -7,7 +7,7 @@ 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."
|
description = "Doks is a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default."
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
docsVersion = "1.0"
|
# docsVersion = "1.0"
|
||||||
|
|
||||||
## Open Graph
|
## Open Graph
|
||||||
images = ["doks.png"]
|
images = ["doks.png"]
|
||||||
|
@ -82,4 +82,4 @@ editPage = false
|
||||||
kaTex = false
|
kaTex = false
|
||||||
collapsibleSidebar = true
|
collapsibleSidebar = true
|
||||||
multilingualMode = false
|
multilingualMode = false
|
||||||
docsVersioning = true
|
docsVersioning = false
|
||||||
|
|
|
@ -4,7 +4,7 @@ description: ""
|
||||||
lead: "An appendix of hosted documentation for nearly every release of Doks, from v0 through v3."
|
lead: "An appendix of hosted documentation for nearly every release of Doks, from v0 through v3."
|
||||||
date: 2021-09-24T08:50:23+02:00
|
date: 2021-09-24T08:50:23+02:00
|
||||||
lastmod: 2021-09-24T08:50:23+02:00
|
lastmod: 2021-09-24T08:50:23+02:00
|
||||||
draft: false
|
draft: true
|
||||||
images: []
|
images: []
|
||||||
layout: versions
|
layout: versions
|
||||||
url: "/docs/versions/"
|
url: "/docs/versions/"
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
/docs/1.0/prologue/ /docs/1.0/prologue/introduction/
|
# /docs/1.0/prologue/ /docs/1.0/prologue/introduction/
|
||||||
/docs/1.0/help/ /docs/1.0/help/how-to-update/
|
# /docs/1.0/help/ /docs/1.0/help/how-to-update/
|
||||||
/docs/1.0/ /docs/1.0/prologue/introduction/
|
# /docs/1.0/ /docs/1.0/prologue/introduction/
|
||||||
/docs/ /docs/1.0/prologue/introduction/
|
# /docs/ /docs/1.0/prologue/introduction/
|
||||||
|
#
|
||||||
/docs/0.1/* https://v0-1-0--doks-versioning-poc.netlify.app/docs/0.1/:splat 200
|
# /docs/0.1/* https://v0-1-0--doks-versioning-poc.netlify.app/docs/0.1/:splat 200
|
||||||
/docs/0.2/* https://v0-2-0--doks-versioning-poc.netlify.app/docs/0.2/:splat 200
|
# /docs/0.2/* https://v0-2-0--doks-versioning-poc.netlify.app/docs/0.2/:splat 200
|
||||||
|
|
Loading…
Reference in New Issue