From e262e6bc6615aada5e4a568142d262c11c142ab9 Mon Sep 17 00:00:00 2001 From: Jim Angel Date: Mon, 3 Dec 2018 17:07:30 -0600 Subject: [PATCH 1/4] deprecating 1.12 config.toml missed in https://github.com/kubernetes/website/pull/11497 --- config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 268f21b3f21eb..69f77252bb73d 100644 --- a/config.toml +++ b/config.toml @@ -69,7 +69,7 @@ fullversion = "v1.12.0" version = "v1.12" githubbranch = "master" docsbranch = "master" -deprecated = false +deprecated = true currentUrl = "https://kubernetes.io/docs/home/" nextUrl = "https://kubernetes-io-vnext-staging.netlify.com/" githubWebsiteRepo = "github.com/kubernetes/website" From e02750aea702c61579b76c430e30a0b6c034a7ed Mon Sep 17 00:00:00 2001 From: Jim Angel Date: Mon, 3 Dec 2018 17:30:19 -0600 Subject: [PATCH 2/4] fixed docsbranch s/master/release-1.12/ --- config.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.toml b/config.toml index 69f77252bb73d..2032a88205439 100644 --- a/config.toml +++ b/config.toml @@ -65,10 +65,10 @@ showedit = true latest = "v1.13" -fullversion = "v1.12.0" +fullversion = "v1.12.3" version = "v1.12" -githubbranch = "master" -docsbranch = "master" +githubbranch = "v1.12.3" +docsbranch = "release-1.12" deprecated = true currentUrl = "https://kubernetes.io/docs/home/" nextUrl = "https://kubernetes-io-vnext-staging.netlify.com/" From d879352664b7551ed92438616618bffbcb5c5557 Mon Sep 17 00:00:00 2001 From: Jim Angel Date: Mon, 3 Dec 2018 17:49:50 -0600 Subject: [PATCH 3/4] moving the params.versions under params.pushAssests --- config.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config.toml b/config.toml index 2032a88205439..2cb212ea3c8ab 100644 --- a/config.toml +++ b/config.toml @@ -75,13 +75,6 @@ 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" From 184b7d7c30cef50d962a7869d9e778d6c7be0fbc Mon Sep 17 00:00:00 2001 From: Jim Angel Date: Mon, 3 Dec 2018 18:19:46 -0600 Subject: [PATCH 4/4] adding .Site. to Params.currentUrl TODO: update master --- layouts/shortcodes/deprecationwarning.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/deprecationwarning.html b/layouts/shortcodes/deprecationwarning.html index 25bc7e2c418fb..a3975386e5f1e 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.