feat: add versioning setup

This commit is contained in:
Henk Verlinde
2021-09-28 16:26:15 +02:00
parent 94bacd3492
commit b290c57d3d
14 changed files with 127 additions and 17 deletions

View File

@ -1,6 +1,13 @@
# redirects for Netlify - https://www.netlify.com/docs/redirects/
{{- range $p := .Site.Pages -}}
{{- range .Aliases }}
{{ . }} {{ $p.RelPermalink -}}
{{- end }}
{{- 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