diff options
author | 2021-08-01 23:38:50 -0700 | |
---|---|---|
committer | 2021-08-01 23:38:50 -0700 | |
commit | 94f89a3c88b0a3795896699fef08611c345cfe1d (patch) | |
tree | 16cc103bef87545239f7e1a4ad52c89ee7d89dda /docs/src/config.ts | |
parent | c6af27a1aad4df6dd3528cad56d4730a955af767 (diff) | |
download | astro-94f89a3c88b0a3795896699fef08611c345cfe1d.tar.gz astro-94f89a3c88b0a3795896699fef08611c345cfe1d.tar.zst astro-94f89a3c88b0a3795896699fef08611c345cfe1d.zip |
full translation (#967)
Diffstat (limited to 'docs/src/config.ts')
-rw-r--r-- | docs/src/config.ts | 100 |
1 files changed, 47 insertions, 53 deletions
diff --git a/docs/src/config.ts b/docs/src/config.ts index 3e677a27e..b887bec40 100644 --- a/docs/src/config.ts +++ b/docs/src/config.ts @@ -1,56 +1,50 @@ -export const SIDEBAR = [ - { - text: 'Setup', - link: '', - children: [ - { text: 'Getting Started', link: 'getting-started' }, - { text: 'Quickstart', link: 'quick-start' }, - { text: 'Installation', link: 'installation' }, - { text: 'Examples', link: 'examples' }, - { text: 'Astro vs. X', link: 'comparing-astro-vs-other-tools' }, - ], - }, - { - text: 'Basics', - link: 'core-concepts', - children: [ - { text: 'Project Structure', link: 'core-concepts/project-structure' }, - { text: 'Components', link: 'core-concepts/astro-components' }, - { text: 'Pages', link: 'core-concepts/astro-pages' }, - { text: 'Layouts', link: 'core-concepts/layouts' }, - { text: 'Collections', link: 'core-concepts/collections' }, - { text: 'Partial Hydration', link: 'core-concepts/component-hydration' }, - ], - }, - { - text: 'Guides', - link: 'guides', - children: [ - { text: 'Styling & CSS', link: 'guides/styling' }, - { text: 'Data Fetching', link: 'guides/data-fetching' }, - { text: 'Markdown', link: 'guides/markdown-content' }, - { text: 'Supported Imports', link: 'guides/imports' }, - // To be written when https://github.com/snowpackjs/astro/issues/501 is completed - // { text: 'Pagination', link: 'guides/pagination' }, - { text: 'Deploy a Website', link: 'guides/deploy' }, - { text: 'Publish a Component', link: 'guides/publish-to-npm' }, - ], - }, - { - text: 'Reference', - link: 'reference', - children: [ - { text: 'Built-In Components', link: 'reference/builtin-components' }, - { text: 'API Reference', link: 'reference/api-reference' }, - { text: 'CLI Reference', link: 'reference/cli-reference' }, - { - text: 'Configuration Reference', - link: 'reference/configuration-reference', - }, - { text: 'Renderer Reference', link: 'reference/renderer-reference' }, - ], - }, -]; +export const SIDEBAR = { + 'en': [ + { text: 'Setup', header: true }, + { text: 'Getting Started', link: 'getting-started' }, + { text: 'Quickstart', link: 'quick-start' }, + { text: 'Installation', link: 'installation' }, + { text: 'Examples', link: 'examples' }, + { text: 'Astro vs. X', link: 'comparing-astro-vs-other-tools' }, + + { text: 'Basics', header: true }, + { text: 'Project Structure', link: 'core-concepts/project-structure' }, + { text: 'Components', link: 'core-concepts/astro-components' }, + { text: 'Pages', link: 'core-concepts/astro-pages' }, + { text: 'Layouts', link: 'core-concepts/layouts' }, + { text: 'Collections', link: 'core-concepts/collections' }, + { text: 'Partial Hydration', link: 'core-concepts/component-hydration' }, + + { text: 'Guides', header: true }, + { text: 'Styling & CSS', link: 'guides/styling' }, + { text: 'Data Fetching', link: 'guides/data-fetching' }, + { text: 'Markdown', link: 'guides/markdown-content' }, + { text: 'Supported Imports', link: 'guides/imports' }, + { text: 'Deploy a Website', link: 'guides/deploy' }, + { text: 'Publish a Component', link: 'guides/publish-to-npm' }, + + { text: 'Reference', header: true }, + { text: 'Built-In Components', link: 'reference/builtin-components' }, + { text: 'API Reference', link: 'reference/api-reference' }, + { text: 'CLI Reference', link: 'reference/cli-reference' }, + { + text: 'Configuration Reference', + link: 'reference/configuration-reference', + }, + { text: 'Renderer Reference', link: 'reference/renderer-reference' }, + ], + 'nl': [ + { text: 'Welkom', header: true }, + { text: 'Beginnen', link: 'nl/getting-started' }, + ], + 'fi': [ + { text: 'Tervetuloa', header: true }, + { text: 'Aloittaminen', link: 'fi/getting-started' }, + { text: 'Pika-aloitus', link: 'fi/quick-start' }, + { text: 'Asennus', link: 'fi/installation' }, + ], +} + export const SITE = { title: 'Astro Documentation', |