Update site config for l10n teams and 1.11 info (#10667)
Update OWNERS_ALIASES to be current Fix OWNERS files syntax Fix currentUrl Fix currentUrl even more Standardize value of currentUrl Fix layout shortcode syntax
This commit is contained in:
committed by
k8s-ci-robot
parent
712f231b07
commit
d8d41116f6
+71
-32
@@ -7,7 +7,7 @@ enableRobotsTXT = true
|
||||
|
||||
disableKinds = ["taxonomy", "taxonomyTerm"]
|
||||
|
||||
ignoreFiles = [ "^OWNERS$", "README.md", "^node_modules$" ]
|
||||
ignoreFiles = [ "^OWNERS$", "README[-]+[a-z]*\\.md", "^node_modules$", "content/en/docs/doc-contributor-tools" ]
|
||||
|
||||
contentDir = "content/en"
|
||||
|
||||
@@ -19,6 +19,12 @@ pygmentsUseClasses = false
|
||||
# See https://help.farbox.com/pygments.html
|
||||
pygmentsStyle = "emacs"
|
||||
|
||||
# Enable Git variables like commit, lastmod
|
||||
enableGitInfo = true
|
||||
|
||||
# Norwegian ("no") is sometimes but not currently used for testing.
|
||||
disableLanguages = ["no"]
|
||||
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true
|
||||
fractions = false
|
||||
@@ -27,49 +33,79 @@ fractions = false
|
||||
date = ["date", ":filename", "publishDate", "lastmod"]
|
||||
|
||||
[permalinks]
|
||||
blog = "/:section/:year/:month/:day/:slug/"
|
||||
blog = "/:section/:year/:month/:day/:slug/"
|
||||
|
||||
# Be explicit about the output formats. We (currently) only want an RSS feed for the home page.
|
||||
[outputs]
|
||||
home = [ "HTML", "RSS"]
|
||||
home = [ "HTML", "RSS", "HEADERS" ]
|
||||
page = [ "HTML"]
|
||||
section = [ "HTML"]
|
||||
|
||||
# Add a "text/netlify" media type for auto-generating the _headers file
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/netlify"]
|
||||
delimiter = ""
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.RSS]
|
||||
baseName = "feed"
|
||||
|
||||
# _headers file output (uses the template at layouts/index.headers)
|
||||
[outputFormats.HEADERS]
|
||||
mediatype = "text/netlify"
|
||||
baseName = "_headers"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
|
||||
[params]
|
||||
|
||||
time_format_blog = "Monday, January 02, 2006"
|
||||
description = "Production-Grade Container Orchestration"
|
||||
showedit = true
|
||||
|
||||
latest = "v1.11"
|
||||
latest = "v1.12"
|
||||
|
||||
fullversion = "v1.11.0"
|
||||
fullversion = "v1.11.3"
|
||||
version = "v1.11"
|
||||
githubbranch = "master"
|
||||
docsbranch = "master"
|
||||
deprecated = false
|
||||
githubbranch = "v1.11.3"
|
||||
docsbranch = "release-1.11"
|
||||
deprecated = true
|
||||
currentUrl = "https://kubernetes.io/docs/home/"
|
||||
nextUrl = "http://kubernetes-io-vnext-staging.netlify.com/"
|
||||
nextUrl = "https://kubernetes-io-vnext-staging.netlify.com/"
|
||||
githubWebsiteRepo = "github.com/kubernetes/website"
|
||||
githubWebsiteRaw = "raw.githubusercontent.com/kubernetes/website"
|
||||
|
||||
[params.pushAssets]
|
||||
css = [
|
||||
"callouts",
|
||||
"styles",
|
||||
"custom-jekyll/tags"
|
||||
]
|
||||
js = [
|
||||
"custom-jekyll/tags",
|
||||
"script"
|
||||
]
|
||||
|
||||
[[params.versions]]
|
||||
fullversion = "v1.11.0"
|
||||
version = "v1.11"
|
||||
githubbranch = "v1.11.0"
|
||||
docsbranch = "release-1.11"
|
||||
fullversion = "v1.12.0"
|
||||
version = "v1.12"
|
||||
githubbranch = "v1.12.0"
|
||||
docsbranch = "release-1.12"
|
||||
url = "https://kubernetes.io"
|
||||
|
||||
[[params.versions]]
|
||||
fullversion = "v1.11.3"
|
||||
version = "v1.11"
|
||||
githubbranch = "v1.11.3"
|
||||
docsbranch = "release-1.11"
|
||||
url = "https://v1-11.docs.kubernetes.io"
|
||||
|
||||
[[params.versions]]
|
||||
fullversion = "v1.10.3"
|
||||
version = "v1.10"
|
||||
githubbranch = "v1.10.3"
|
||||
docsbranch = "release-1.10"
|
||||
url = "https://kubernetes.io"
|
||||
url = "https://v1-10.docs.kubernetes.io"
|
||||
|
||||
[[params.versions]]
|
||||
fullversion = "v1.9.7"
|
||||
@@ -78,21 +114,6 @@ githubbranch = "v1.9.7"
|
||||
docsbranch = "release-1.9"
|
||||
url = "https://v1-9.docs.kubernetes.io"
|
||||
|
||||
[[params.versions]]
|
||||
fullversion = "v1.8.4"
|
||||
version = "v1.8"
|
||||
githubbranch = "v1.8.4"
|
||||
docsbranch = "release-1.8"
|
||||
url = "https://v1-8.docs.kubernetes.io"
|
||||
|
||||
[[params.versions]]
|
||||
fullversion = "v1.7.6"
|
||||
version = "v1.7"
|
||||
githubbranch = "v1.7.6"
|
||||
docsbranch = "release-1.7"
|
||||
url = "https://v1-7.docs.kubernetes.io"
|
||||
|
||||
|
||||
# Language definitions.
|
||||
|
||||
[languages]
|
||||
@@ -102,11 +123,29 @@ description = "Production-Grade Container Orchestration"
|
||||
languageName ="English"
|
||||
# Weight used for sorting.
|
||||
weight = 1
|
||||
[languages.cn]
|
||||
|
||||
[languages.zh]
|
||||
title = "Kubernetes"
|
||||
description = "Production-Grade Container Orchestration"
|
||||
languageName ="Chinese"
|
||||
languageName = "中文 Chinese"
|
||||
weight = 2
|
||||
contentDir = "content/cn"
|
||||
contentDir = "content/zh"
|
||||
|
||||
[languages.ko]
|
||||
title = "Kubernetes"
|
||||
description = "Production-Grade Container Orchestration"
|
||||
languageName = "한국어 Korean"
|
||||
weight = 3
|
||||
contentDir = "content/ko"
|
||||
|
||||
[languages.no]
|
||||
title = "Kubernetes"
|
||||
description = "Production-Grade Container Orchestration"
|
||||
languageName ="Norsk"
|
||||
weight = 4
|
||||
contentDir = "content/no"
|
||||
|
||||
[languages.no.params]
|
||||
time_format_blog = "02.01.2006"
|
||||
# A list of language codes to look for untranslated content, ordered from left to right.
|
||||
language_alternatives = ["en"]
|
||||
|
||||
Reference in New Issue
Block a user