Skip to content

Commit

Permalink
Add new version to dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
GoCD Build User committed Jun 23, 2024
1 parent bcfb315 commit ad92641
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion current
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ <h1>Welcome to Go Continuous Delivery User Documentation</h1>
</p>

<p class="paragraph" id="links">
<a href="https://docs.go.cd/24.2.0/">24.2.0 (under development: early access)</a><br>
<a href="current">24.1.0 (current)</a><br>
<a href="https://docs.go.cd/24.3.0/">24.3.0 (under development: early access)</a><br>
<a href="current">24.2.0 (current)</a><br>
<a href="https://docs.go.cd/24.1.0/">24.1.0</a><br>
<a href="https://docs.go.cd/23.5.0/">23.5.0</a><br>
<a href="https://docs.go.cd/23.4.0/">23.4.0</a><br>
<a href="https://docs.go.cd/23.3.0/">23.3.0</a><br>
Expand Down
3 changes: 2 additions & 1 deletion robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Allow: /current
Allow: /current/

# Disallow versioned directories
Disallow: /23.5.0
Disallow: /24.1.0
Disallow: /24.3.0
Disallow: /24.2.0
Disallow: /24.1.0
Disallow: /23.5.0
Expand Down
10 changes: 7 additions & 3 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[
{
"version": "24.3.0",
"location": "https://docs.go.cd/24.3.0/",
"type": "next"
},
{
"version": "24.2.0",
"location": "https://docs.go.cd/24.2.0/",
"type": "next"
"type": "latest"
},
{
"version": "24.1.0",
"location": "https://docs.go.cd/24.1.0/",
"type": "latest"
"location": "https://docs.go.cd/24.1.0/"
},
{
"version": "23.5.0",
Expand Down

0 comments on commit ad92641

Please sign in to comment.