Commit b290c57d authored by Henk Verlinde's avatar Henk Verlinde
Browse files

feat: add versioning setup

parent 94bacd34
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ Source:
    {{ range $index, $element := $list -}}
      {
        id: {{ $index }},
        href: "{{ .Permalink }}",
        href: "{{ .RelPermalink }}",
        title: {{ .Title | jsonify }},
        description: {{ .Params.description | jsonify }},
        content: {{ .Content | jsonify }}
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ rel = "sitemap"

[permalinks]
  blog = "/blog/:title/"
  docs = "/docs/1.0/:sections[1:]/:title/"

[minify.tdewolff.html]
  keepWhitespace = false
+2 −1
Original line number Diff line number Diff line
@@ -12,7 +12,8 @@

[[main]]
  name = "Docs"
  url = "/docs/prologue/introduction/"
# url = "/docs/prologue/introduction/"
  url = "/docs/1.0/prologue/introduction/"
  weight = 10

[[main]]
+4 −1
Original line number Diff line number Diff line
@@ -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

content/en/versions.md

0 → 100644
+11 −0
Original line number Diff line number Diff line
---
title: "Versions"
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
images: []
layout: versions
url: "/docs/versions/"
---
Loading