config: switch versioning off per default

This commit is contained in:
Henk Verlinde 2021-10-04 16:29:39 +02:00
parent b290c57d3d
commit 0b9c219922
5 changed files with 13 additions and 13 deletions

View File

@ -62,7 +62,7 @@ rel = "sitemap"
[permalinks]
blog = "/blog/:title/"
docs = "/docs/1.0/:sections[1:]/:title/"
# docs = "/docs/1.0/:sections[1:]/:title/"
[minify.tdewolff.html]
keepWhitespace = false

View File

@ -12,8 +12,8 @@
[[main]]
name = "Docs"
# url = "/docs/prologue/introduction/"
url = "/docs/1.0/prologue/introduction/"
url = "/docs/prologue/introduction/"
# url = "/docs/1.0/prologue/introduction/"
weight = 10
[[main]]

View File

@ -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."
## Documentation
docsVersion = "1.0"
# docsVersion = "1.0"
## Open Graph
images = ["doks.png"]
@ -82,4 +82,4 @@ editPage = false
kaTex = false
collapsibleSidebar = true
multilingualMode = false
docsVersioning = true
docsVersioning = false

View File

@ -4,7 +4,7 @@ description: ""
lead: "An appendix of hosted documentation for nearly every release of Doks, from v0 through v3."
date: 2021-09-24T08:50:23+02:00
lastmod: 2021-09-24T08:50:23+02:00
draft: false
draft: true
images: []
layout: versions
url: "/docs/versions/"

View File

@ -4,10 +4,10 @@
{{- end }}
{{- end -}}
/docs/1.0/prologue/ /docs/1.0/prologue/introduction/
/docs/1.0/help/ /docs/1.0/help/how-to-update/
/docs/1.0/ /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.2/* https://v0-2-0--doks-versioning-poc.netlify.app/docs/0.2/:splat 200
# /docs/1.0/prologue/ /docs/1.0/prologue/introduction/
# /docs/1.0/help/ /docs/1.0/help/how-to-update/
# /docs/1.0/ /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.2/* https://v0-2-0--doks-versioning-poc.netlify.app/docs/0.2/:splat 200