Skip to content

Commit

Permalink
chore: more missings redirect for languages and enable zh-cn was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpicado committed Jul 30, 2021
1 parent 668bbd0 commit 42d08eb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const i18nConfig = {
"pt-BR", "ru-RU",
"sr-CS", "vi-VN",
"yo-NG", "zh-TW",
"zh-CN"
],
localeConfigs: {
ar: {
Expand Down
13 changes: 13 additions & 0 deletions website/static/_redirects
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 42d08eb

Please sign in to comment.