Skip to content

Commit 9eef43f

Browse files
ankitm123jstrachan
authored andcommitted
feat: add doc versioning
Signed-off-by: ankitm123 <[email protected]>
1 parent a0a57ab commit 9eef43f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+145
-7
lines changed

config.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ privacy_policy = "https://policies.google.com/privacy"
113113

114114
# Menu title if your navbar has a versions selector to access old versions of your site.
115115
# This menu appears only if you have at least one [params.versions] set.
116-
version_menu = "Releases"
116+
version_menu = "Docs"
117117

118118
# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
119119
github_repo = "https://github.com/jenkins-x/jx-docs"
@@ -186,3 +186,14 @@ no = 'Sorry to hear that. Please <a href="https://github.com/jenkins-x/jx-docs/i
186186
url = "https://kubernetes.slack.com/messages/C9LTHT2BB"
187187
icon = "fab fa-slack"
188188
desc = "Chat with other project developers"
189+
190+
# Versioning
191+
[[params.versions]]
192+
version = "v3.x"
193+
url = "/docs/v3"
194+
dirpath = "docs-v3"
195+
196+
[[params.versions]]
197+
version = "v2.x"
198+
url = "/docs"
199+
dirpath = "docs"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ type: docs
55
weight: 45
66
aliases:
77
- /labs
8+
- /docs/v3/
89
---
910

1011

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ linktitle: About
44
type: docs
55
description: Documentation about Jenkins X 3.x benefits, comparison and how it works
66
weight: 5
7+
aliases:
8+
- /docs/v3/about/
79
---
810

911

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
title: Benefits
33
linktitle: Benefits
4+
type: docs
45
description: Benefits of using Jenkins X 3.x
56
weight: 80
7+
aliases:
8+
- /docs/v3/about/benefits/
69
---
710

811

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
title: Changes
33
linktitle: Changes
4+
type: docs
45
description: The change log for Jenkins X 3.x
56
weight: 55
7+
aliases:
8+
- /docs/v3/about/changes/
69
---
710

811
You may also find the [Roadmap](/community/roadmap/) and [Maturity Matrix](/docs/v3/about/maturity-matrix/) documents useful:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
title: Comparison
33
linktitle: Comparison
4+
type: docs
45
description: Comparison of Jenkins X version 3.x to 2.x
56
weight: 90
7+
aliases:
8+
- /docs/v3/about/comparison/
69
---
710

811

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
title: Extending
33
linktitle: Extending
4+
type: docs
45
description: How to extend Jenkins X 3.x
56
weight: 500
7+
aliases:
8+
- /docs/v3/about/extending/
69
---
710

811
Jenkins X has a number of extension points you can use to extend the CI/CD platform to suit your needs:
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
title: How it works
33
linktitle: How it works
4+
type: docs
45
description: How Jenkins X 3.x works under the covers
56
weight: 130
7+
aliases:
8+
- /docs/v3/about/how-it-works/
69
---
710

811

content/en/docs/v3/about/maturity-matrix.md renamed to content/en/docs-v3/about/maturity-matrix.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
title: Maturity Level Matrix
3-
linktitle: Maturity Level Matrix
3+
linktitle: Maturity Level Matrix
4+
type: docs
45
description: Jenkins X 3.x features maturity assessment on different cloud providers
56
weight: 60
7+
aliases:
8+
- /docs/v3/about/maturity-matrix/
69
---
710

811
This maturity matrix descibes the status of the Jenkins X 3.x __Alpha__ release. This will continue to evolve as we progress towards Beta.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
---
22
title: Overview
33
linktitle: Overview
4+
type: docs
45
description: Overview of the architecture, concepts and motivations for Jenkins X 3.x
56
weight: 50
7+
aliases:
8+
- /docs/v3/about/overview/
69
---
710

811
Jenkins X 3.x creates clearer separation of concerns between conceptual areas and releasable components.

0 commit comments

Comments
 (0)