deprecating 1.12 config.toml (#11502)

* deprecating 1.12 config.toml

missed in https://github.com/kubernetes/website/pull/11497

* fixed docsbranch s/master/release-1.12/

* moving the params.versions under params.pushAssests

* adding .Site. to Params.currentUrl

TODO: update master
This commit is contained in:
Jim Angel
2018-12-03 18:27:06 -06:00
committed by Kubernetes Prow Robot
parent 31cebb306d
commit f95376389a
2 changed files with 12 additions and 12 deletions
+11 -11
View File
@@ -65,23 +65,16 @@ showedit = true
latest = "v1.13"
fullversion = "v1.12.0"
fullversion = "v1.12.3"
version = "v1.12"
githubbranch = "master"
docsbranch = "master"
deprecated = false
githubbranch = "v1.12.3"
docsbranch = "release-1.12"
deprecated = true
currentUrl = "https://kubernetes.io/docs/home/"
nextUrl = "https://kubernetes-io-vnext-staging.netlify.com/"
githubWebsiteRepo = "github.com/kubernetes/website"
githubWebsiteRaw = "raw.githubusercontent.com/kubernetes/website"
[[params.versions]]
fullversion = "v1.13.0"
version = "v1.13"
githubbranch = "v1.13.0"
docsbranch = "release-1.13"
url = "https://kubernetes.io"
[params.pushAssets]
css = [
"callouts",
@@ -93,6 +86,13 @@ js = [
"script"
]
[[params.versions]]
fullversion = "v1.13.0"
version = "v1.13"
githubbranch = "v1.13.0"
docsbranch = "release-1.13"
url = "https://kubernetes.io"
[[params.versions]]
fullversion = "v1.12.3"
version = "v1.12"
+1 -1
View File
@@ -4,7 +4,7 @@
<div class="content deprecation-warning">
<h3>
Documentation for Kubernetes {{ .Page.Param "version" }} is no longer actively maintained. The version you are currently viewing is a static snapshot.
For up-to-date documentation, see the <a href="{{ .Params.currentUrl }}">latest</a> version.
For up-to-date documentation, see the <a href="{{ .Site.Params.currentUrl }}">latest</a> version.
</h3>
</div>
</main>