Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hugo, node, docsy versions #43811

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "themes/docsy"]
path = themes/docsy
url = https://github.com/google/docsy.git
branch = v0.2.0
branch = v0.6.0
[submodule "api-ref-generator"]
path = api-ref-generator
url = https://github.com/kubernetes-sigs/reference-docs
63 changes: 17 additions & 46 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ timeZone = "UTC"
enableRobotsTXT = true
disableBrowserError = true

disableKinds = ["taxonomy", "taxonomyTerm"]
disableKinds = ["taxonomy"]

ignoreFiles = [ "(?:^|/)OWNERS$", "README[-]+[a-z]*\\.md", "^node_modules$", "content/en/docs/doc-contributor-tools" ]

Expand Down Expand Up @@ -294,7 +294,7 @@ no = 'Sorry to hear that. Please <a href="https://github.com/USERNAME/REPOSITORY
# Language definitions.

[languages]
[languages.en]
[languages.en.params]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName = "English"
Expand All @@ -303,159 +303,136 @@ weight = 1
languagedirection = "ltr"
i18nDir = "./data/i18n"

[languages.zh-cn]
[languages.zh-cn.params]
title = "Kubernetes"
description = "生产级别的容器编排系统"
languageName = "中文 (Chinese)"
languageNameLatinScript = "Chinese"
weight = 2
contentDir = "content/zh-cn"
languagedirection = "ltr"

[languages.zh-cn.params]
time_format_blog = "2006.01.02"
language_alternatives = ["en"]

[languages.ko]
[languages.ko.params]
title = "Kubernetes"
description = "운영 수준의 컨테이너 오케스트레이션"
languageName = "한국어 (Korean)"
languageNameLatinScript = "Korean"
weight = 3
contentDir = "content/ko"
languagedirection = "ltr"

[languages.ko.params]
time_format_blog = "2006.01.02"
language_alternatives = ["en"]

[languages.ja]
[languages.ja.params]
title = "Kubernetes"
description = "プロダクショングレードのコンテナ管理基盤"
languageName = "日本語 (Japanese)"
languageNameLatinScript = "Japanese"
weight = 4
contentDir = "content/ja"
languagedirection = "ltr"

[languages.ja.params]
time_format_blog = "2006.01.02"
language_alternatives = ["en"]

[languages.fr]
[languages.fr.params]
title = "Kubernetes"
description = "Solution professionnelle d’orchestration de conteneurs"
languageName = "Français (French)"
languageNameLatinScript = "Français"
weight = 5
contentDir = "content/fr"
languagedirection = "ltr"

[languages.fr.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"]

[languages.it]
[languages.it.params]
title = "Kubernetes"
description = "Orchestrazione di Container in produzione"
languageName = "Italiano (Italian)"
languageNameLatinScript = "Italiano"
weight = 6
contentDir = "content/it"
languagedirection = "ltr"

[languages.it.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"]

[languages.no]
[languages.no.params]
title = "Kubernetes"
description = "Production-Grade Container Orchestration"
languageName = "Norsk (Norwegian)"
languageNameLatinScript = "Norsk"
weight = 7
contentDir = "content/no"
languagedirection = "ltr"

[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"]

[languages.de]
[languages.de.params]
title = "Kubernetes"
description = "Produktionsreife Container-Orchestrierung"
languageName = "Deutsch (German)"
languageNameLatinScript = "Deutsch"
weight = 8
contentDir = "content/de"
languagedirection = "ltr"

[languages.de.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"]

[languages.es]
[languages.es.params]
title = "Kubernetes"
description = "Orquestación de contenedores para producción"
languageName = "Español (Spanish)"
languageNameLatinScript = "Español"
weight = 9
contentDir = "content/es"
languagedirection = "ltr"

[languages.es.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"]

[languages.pt-br]
[languages.pt-br.params]
title = "Kubernetes"
description = "Orquestração de contêineres em nível de produção"
languageName = "Português (Portuguese)"
languageNameLatinScript = "Português"
weight = 10

contentDir = "content/pt-br"
languagedirection = "ltr"

[languages.pt-br.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"]

[languages.id]
[languages.id.params]
title = "Kubernetes"
description = "Orkestrasi Kontainer dengan Skala Produksi"
languageName ="Bahasa Indonesia"
languageNameLatinScript = "Bahasa Indonesia"
weight = 11
contentDir = "content/id"
languagedirection = "ltr"

[languages.id.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"]

[languages.hi]
[languages.hi.params]
title = "Kubernetes"
description = "प्रोडक्शन-ग्रेड कंटेनर ऑर्केस्ट्रेशन"
languageName = "हिन्दी (Hindi)"
languageNameLatinScript = "Hindi"
weight = 12
contentDir = "content/hi"
languagedirection = "ltr"

[languages.hi.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"]

[languages.vi]
[languages.vi.params]
title = "Kubernetes"
description = "Giải pháp điều phối container trong môi trường production"
languageName = "Tiếng Việt (Vietnamese)"
Expand All @@ -464,44 +441,38 @@ contentDir = "content/vi"
weight = 13
languagedirection = "ltr"

[languages.ru]
[languages.ru.params]
title = "Kubernetes"
description = "Первоклассная оркестрация контейнеров"
languageName = "Русский (Russian)"
languageNameLatinScript = "Russian"
weight = 14
contentDir = "content/ru"
languagedirection = "ltr"

[languages.ru.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"]

[languages.pl]
[languages.pl.params]
title = "Kubernetes"
description = "Produkcyjny system zarządzania kontenerami"
languageName = "Polski (Polish)"
languageNameLatinScript = "Polski"
weight = 15
contentDir = "content/pl"
languagedirection = "ltr"

[languages.pl.params]
time_format_blog = "01.02.2006"
# A list of language codes to look for untranslated content, ordered from left to right.
language_alternatives = ["en"]

[languages.uk]
[languages.uk.params]
title = "Kubernetes"
description = "Довершена система оркестрації контейнерів"
languageName = "Українська (Ukrainian)"
languageNameLatinScript = "Ukrainian"
weight = 16
contentDir = "content/uk"
languagedirection = "ltr"

[languages.uk.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"]
12 changes: 6 additions & 6 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@
# DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads)
publish = "public"
functions = "functions"
command = "git submodule update --init --recursive --depth 1 && make non-production-build"
command = "git submodule update --init --recursive --depth 1 && npm install --prod && make non-production-build"

[build.environment]
NODE_VERSION = "10.20.0"
HUGO_VERSION = "0.111.3"
NODE_VERSION = "20.9.0"
HUGO_VERSION = "0.120.3"

[context.production.environment]
HUGO_BASEURL = "https://kubernetes.io/"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

[context.deploy-preview]
command = "git submodule update --init --recursive --depth 1 && make deploy-preview"
command = "git submodule update --init --recursive --depth 1 && npm install --prod && make deploy-preview"

[context.branch-deploy]
command = "git submodule update --init --recursive --depth 1 && make non-production-build"
command = "git submodule update --init --recursive --depth 1 && npm install --prod && make non-production-build"

[context.main]
# This context is triggered by the `main` branch and allows search indexing
# DO NOT REMOVE THIS (contact @kubernetes/sig-docs-leads)
publish = "public"
command = "git submodule update --init --recursive --depth 1 && make production-build"
command = "git submodule update --init --recursive --depth 1 && npm install --prod && make production-build"
Loading