Skip to content

Commit 62d3c40

Browse files
chenopisk8s-ci-robot
authored andcommitted
Fix currentUrl var in deprecation-warning.html (kubernetes#9280)
* Update TOML to archive 1.10 * fix var syntax (+1 squashed commit) Squashed commits: [a5e0fd5] Fix currentUrl var in deprecation-warning.html
1 parent 50bc79e commit 62d3c40

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

config.toml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ enableRobotsTXT = true
77

88
disableKinds = ["taxonomy", "taxonomyTerm"]
99

10-
ignoreFiles = [ "^OWNERS$", "README.md", "^node_modules$" ]
10+
# ignoreFiles = [ "^OWNERS$", "README.md", "^node_modules$"
11+
# Ignore extra things in archives
12+
ignoreFiles = [ "^OWNERS$", "README.md", "^node_modules$", "content/en/blog", "content/en/case-studies", "content/en/community", "content/en/partners" ]
1113

1214
contentDir = "content/en"
1315

@@ -45,50 +47,50 @@ time_format_blog = "Monday, January 02, 2006"
4547
description = "Production-Grade Container Orchestration"
4648
showedit = true
4749

48-
latest = "v1.10"
50+
latest = "v1.11"
4951

50-
fullversion = "v1.10.3"
52+
fullversion = "v1.10.5"
5153
version = "v1.10"
52-
githubbranch = "master"
53-
docsbranch = "master"
54-
deprecated = false
54+
githubbranch = "v1.10.5"
55+
docsbranch = "release-1.10"
56+
deprecated = true
5557
currentUrl = "https://kubernetes.io/docs/home/"
5658
nextUrl = "http://kubernetes-io-vnext-staging.netlify.com/"
5759
githubWebsiteRepo = "github.com/kubernetes/website"
5860
githubWebsiteRaw = "raw.githubusercontent.com/kubernetes/website"
5961

6062
[[params.versions]]
61-
fullversion = "v1.10.3"
63+
fullversion = "v1.10.5"
6264
version = "v1.10"
63-
githubbranch = "v1.10.3"
65+
githubbranch = "master"
6466
docsbranch = "release-1.10"
65-
url = "https://kubernetes.io"
67+
url = "https://v1-10.docs.kubernetes.io"
6668

6769
[[params.versions]]
68-
fullversion = "v1.9.7"
70+
fullversion = "v1.9.8"
6971
version = "v1.9"
70-
githubbranch = "v1.9.7"
72+
githubbranch = "v1.9.8"
7173
docsbranch = "release-1.9"
7274
url = "https://v1-9.docs.kubernetes.io"
7375

7476
[[params.versions]]
75-
fullversion = "v1.8.4"
77+
fullversion = "v1.8.14"
7678
version = "v1.8"
77-
githubbranch = "v1.8.4"
79+
githubbranch = "v1.8.14"
7880
docsbranch = "release-1.8"
7981
url = "https://v1-8.docs.kubernetes.io"
8082

8183
[[params.versions]]
82-
fullversion = "v1.7.6"
84+
fullversion = "v1.7.16"
8385
version = "v1.7"
84-
githubbranch = "v1.7.6"
86+
githubbranch = "v1.7.16"
8587
docsbranch = "release-1.7"
8688
url = "https://v1-7.docs.kubernetes.io"
8789

8890
[[params.versions]]
89-
fullversion = "v1.6.8"
91+
fullversion = "v1.6.13"
9092
version = "v1.6"
91-
githubbranch = "v1.6.8"
93+
githubbranch = "v1.6.13"
9294
docsbranch = "release-1.6"
9395
url = "https://v1-6.docs.kubernetes.io"
9496

layouts/shortcodes/deprecationwarning.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="content deprecation-warning">
55
<h3>
66
Documentation for Kubernetes {{ .Page.Param "version" }} is no longer actively maintained. The version you are currently viewing is a static snapshot.
7-
For up-to-date documentation, see the <a href="{{ .Params.currentUrl }}">latest</a> version.
7+
For up-to-date documentation, see the <a href="{{ .Site.Params.currentUrl }}">latest</a> version.
88
</h3>
99
</div>
1010
</main>

0 commit comments

Comments
 (0)