From f95376389ade06e51fe046fbe84945b8dcf0fa22 Mon Sep 17 00:00:00 2001 From: Jim Angel Date: Mon, 3 Dec 2018 18:27:06 -0600 Subject: [PATCH] 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 --- config.toml | 22 +++++++++++----------- layouts/shortcodes/deprecationwarning.html | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config.toml b/config.toml index 268f21b3f2..2cb212ea3c 100644 --- a/config.toml +++ b/config.toml @@ -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" diff --git a/layouts/shortcodes/deprecationwarning.html b/layouts/shortcodes/deprecationwarning.html index 25bc7e2c41..a3975386e5 100644 --- a/layouts/shortcodes/deprecationwarning.html +++ b/layouts/shortcodes/deprecationwarning.html @@ -4,7 +4,7 @@

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 latest version. + For up-to-date documentation, see the latest version.