Commit 0b9c2199 authored by Henk Verlinde's avatar Henk Verlinde
Browse files

config: switch versioning off per default

parent b290c57d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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]]
+2 −2
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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/"
+7 −7
Original line number Diff line number Diff line
@@ -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