From 42d08eb4238500a079acf618e22210f442e3ce0a Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Fri, 30 Jul 2021 08:44:34 +0200 Subject: [PATCH] chore: more missings redirect for languages and enable zh-cn was missing --- website/docusaurus.config.js | 1 + website/static/_redirects | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 8a6beac94e36..2deaf036cd23 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -14,6 +14,7 @@ const i18nConfig = { "pt-BR", "ru-RU", "sr-CS", "vi-VN", "yo-NG", "zh-TW", + "zh-CN" ], localeConfigs: { ar: { diff --git a/website/static/_redirects b/website/static/_redirects index e0435079c286..bcf04f0fcb44 100644 --- a/website/static/_redirects +++ b/website/static/_redirects @@ -1,2 +1,15 @@ /docs/en/docker.html /docs/docker 301 /docs/en/* /docs/:splat +/docs/cs-CZ/* /cs-cz/docs/:splat +/docs/de-DE/* /de-de/docs/:splat +/docs/es-ES/* /es-es/docs/:splat +/docs/fr-FR/* /fr-fr/docs/:splat +/docs/it-IT/* /it-it/docs/:splat +/docs/pl-PL/* /pl-pl/docs/:splat +/docs/pt-BR/* /pt-br/docs/:splat +/docs/ru-RU/* /ru-ru/docs/:splat +/docs/sr-CS/* /sr-cs/docs/:splat +/docs/yo-NG/* /yo-NG/docs/:splat +/docs/vi-VN/* /vi-vn/docs/:splat +/docs/zh-TW/* /zh-tw/docs/:splat +/docs/zh-CN/* /zh-cn/docs/:splat