Skip to content

Commit

Permalink
feat: add doc versioning
Browse files Browse the repository at this point in the history
Signed-off-by: ankitm123 <ankitmohapatra123@gmail.com>
  • Loading branch information
ankitm123 committed Nov 2, 2020
1 parent 93c1c0c commit 09e30fb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,28 @@ no = 'Sorry to hear that. Please <a href="https://github.com/jenkins-x/jx-docs/i
url = "https://kubernetes.slack.com/messages/C9LTHT2BB"
icon = "fab fa-slack"
desc = "Chat with other project developers"

# Versioning
[[params.versions]]
version = "v2.0"
ghbranchname = "release-v2"
url = "/v2.0-docs/"
dirpath = "v2.0-docs"

[[params.versions]]
version = "v3.0"
ghbranchname = "release-v3"
url = "/docs/v3"
dirpath = "v3.0-docs"

[[params.versions]]
version = "Pre-release"
ghbranchname = "master"
url = "/docs/"
dirpath = "docs"


[[redirects]]
from = "/v3/*"
to = "/docs/:splat"
status = 200

0 comments on commit 09e30fb

Please sign in to comment.