Skip to content

Commit

Permalink
deprecating 1.12 config.toml (#11502)
Browse files Browse the repository at this point in the history
* deprecating 1.12 config.toml

missed in #11497

* fixed docsbranch s/master/release-1.12/

* moving the params.versions under params.pushAssests

* adding .Site. to Params.currentUrl

TODO: update master
  • Loading branch information
jimangel authored and k8s-ci-robot committed Dec 4, 2018
1 parent 31cebb3 commit f953763
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
22 changes: 11 additions & 11 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion layouts/shortcodes/deprecationwarning.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f953763

Please sign in to comment.