From 62d3c40673e6539ede3b4fcbceea6d23a06e23c3 Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Wed, 27 Jun 2018 15:40:21 -0700 Subject: [PATCH] Fix currentUrl var in deprecation-warning.html (#9280) * Update TOML to archive 1.10 * fix var syntax (+1 squashed commit) Squashed commits: [a5e0fd5] Fix currentUrl var in deprecation-warning.html --- config.toml | 36 ++++++++++++---------- layouts/shortcodes/deprecationwarning.html | 2 +- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/config.toml b/config.toml index e7782e5a37..936957286f 100644 --- a/config.toml +++ b/config.toml @@ -7,7 +7,9 @@ enableRobotsTXT = true disableKinds = ["taxonomy", "taxonomyTerm"] -ignoreFiles = [ "^OWNERS$", "README.md", "^node_modules$" ] +# ignoreFiles = [ "^OWNERS$", "README.md", "^node_modules$" +# Ignore extra things in archives +ignoreFiles = [ "^OWNERS$", "README.md", "^node_modules$", "content/en/blog", "content/en/case-studies", "content/en/community", "content/en/partners" ] contentDir = "content/en" @@ -45,50 +47,50 @@ time_format_blog = "Monday, January 02, 2006" description = "Production-Grade Container Orchestration" showedit = true -latest = "v1.10" +latest = "v1.11" -fullversion = "v1.10.3" +fullversion = "v1.10.5" version = "v1.10" -githubbranch = "master" -docsbranch = "master" -deprecated = false +githubbranch = "v1.10.5" +docsbranch = "release-1.10" +deprecated = true currentUrl = "https://kubernetes.io/docs/home/" nextUrl = "http://kubernetes-io-vnext-staging.netlify.com/" githubWebsiteRepo = "github.com/kubernetes/website" githubWebsiteRaw = "raw.githubusercontent.com/kubernetes/website" [[params.versions]] -fullversion = "v1.10.3" +fullversion = "v1.10.5" version = "v1.10" -githubbranch = "v1.10.3" +githubbranch = "master" docsbranch = "release-1.10" -url = "https://kubernetes.io" +url = "https://v1-10.docs.kubernetes.io" [[params.versions]] -fullversion = "v1.9.7" +fullversion = "v1.9.8" version = "v1.9" -githubbranch = "v1.9.7" +githubbranch = "v1.9.8" docsbranch = "release-1.9" url = "https://v1-9.docs.kubernetes.io" [[params.versions]] -fullversion = "v1.8.4" +fullversion = "v1.8.14" version = "v1.8" -githubbranch = "v1.8.4" +githubbranch = "v1.8.14" docsbranch = "release-1.8" url = "https://v1-8.docs.kubernetes.io" [[params.versions]] -fullversion = "v1.7.6" +fullversion = "v1.7.16" version = "v1.7" -githubbranch = "v1.7.6" +githubbranch = "v1.7.16" docsbranch = "release-1.7" url = "https://v1-7.docs.kubernetes.io" [[params.versions]] -fullversion = "v1.6.8" +fullversion = "v1.6.13" version = "v1.6" -githubbranch = "v1.6.8" +githubbranch = "v1.6.13" docsbranch = "release-1.6" url = "https://v1-6.docs.kubernetes.io" 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.