summaryrefslogtreecommitdiff
path: root/docs/src/config.ts
diff options
context:
space:
mode:
authorGravatar Xinyuan Wang <40495740+ChelesteWang@users.noreply.github.com> 2021-08-05 00:05:00 +0800
committerGravatar GitHub <noreply@github.com> 2021-08-04 09:05:00 -0700
commit2bd178d4f95e9d1a30135a774a4b21e0bd7e20be (patch)
tree51e3b8f4ac656ebd1ebb5bc8e93109ca04803a55 /docs/src/config.ts
parentc7aca2c9b258ed941f7089dfa3ad092be9419a76 (diff)
downloadastro-2bd178d4f95e9d1a30135a774a4b21e0bd7e20be.tar.gz
astro-2bd178d4f95e9d1a30135a774a4b21e0bd7e20be.tar.zst
astro-2bd178d4f95e9d1a30135a774a4b21e0bd7e20be.zip
docs(translate):translate getting-started.md into ZH (CN & TW) (#979)
* translate getting-started.md into ZH (CN & TW) * fix translate the title for getting-started.md * add zh CN & TW config in Docs * fix config "locale" * fix config.ts add route for CN & TW * fix installation.md Next Steps title 's level * translate quick-start.md & installation.md & examples.md into ZH (CN ) * Add lang variable to docs frontmatter for translations * Update docs/src/pages/zh-TW/getting-started.md Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz> Co-authored-by: Caleb Jasik <calebjasik@jasik.xyz>
Diffstat (limited to 'docs/src/config.ts')
-rw-r--r--docs/src/config.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/src/config.ts b/docs/src/config.ts
index 2d2348cc1..dfcb4d0a2 100644
--- a/docs/src/config.ts
+++ b/docs/src/config.ts
@@ -43,6 +43,17 @@ export const SIDEBAR = {
{ text: 'Pika-aloitus', link: 'fi/quick-start' },
{ text: 'Asennus', link: 'fi/installation' },
],
+ 'zh-CN': [
+ { text: '起步', header: true },
+ { text: '入门指南', link: 'zh-CN/getting-started' },
+ { text: '快速入门', link: 'zh-CN/quick-start' },
+ { text: '安装指南', link: 'zh-CN/installation' },
+ { text: '模板样例', link: 'zh-CN/examples' },
+ ],
+ 'zh-TW': [
+ { text: '起步', header: true },
+ { text: '入門指南', link: 'zh-TW/getting-started' },
+ ],
};
export const SITE = {