summaryrefslogtreecommitdiff
path: root/docs/src/config.ts
diff options
context:
space:
mode:
authorGravatar Caleb Jasik <calebjasik@jasik.xyz> 2022-01-03 13:59:34 -0600
committerGravatar GitHub <noreply@github.com> 2022-01-03 11:59:34 -0800
commitf26eb7b74558a06ed96e7c94fd9844eaf2508fb4 (patch)
tree750ea3ba771df1669aa50782b7882ed6bee0132b /docs/src/config.ts
parentf9b813aa86a199c8c00a4e1fe306ff6db24f1b31 (diff)
downloadastro-f26eb7b74558a06ed96e7c94fd9844eaf2508fb4.tar.gz
astro-f26eb7b74558a06ed96e7c94fd9844eaf2508fb4.tar.zst
astro-f26eb7b74558a06ed96e7c94fd9844eaf2508fb4.zip
Docs/move-english-docs-to-"en"-folder (#2268)
* Move english pages under `/en` and fix broken links hopefully * Add meta refresh tags for `/` to `/en/` url moves + make `/index.astro` work without js * update languageselect for new en format Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'docs/src/config.ts')
-rw-r--r--docs/src/config.ts56
1 files changed, 28 insertions, 28 deletions
diff --git a/docs/src/config.ts b/docs/src/config.ts
index 88e41aad4..8514a171f 100644
--- a/docs/src/config.ts
+++ b/docs/src/config.ts
@@ -1,43 +1,43 @@
export const SIDEBAR = {
en: [
{ text: 'Setup', header: true },
- { text: 'Getting Started', link: 'getting-started' },
- { text: 'Quickstart', link: 'quick-start' },
- { text: 'Installation', link: 'installation' },
- { text: 'Themes', link: 'themes' },
- { text: 'Astro vs. X', link: 'comparing-astro-vs-other-tools' },
- { text: 'Migrate to v0.21', link: 'migration/0.21.0' },
+ { text: 'Getting Started', link: 'en/getting-started' },
+ { text: 'Quickstart', link: 'en/quick-start' },
+ { text: 'Installation', link: 'en/installation' },
+ { text: 'Themes', link: 'en/themes' },
+ { text: 'Astro vs. X', link: 'en/comparing-astro-vs-other-tools' },
+ { text: 'Migrate to v0.21', link: 'en/migration/0.21.0' },
{ text: 'Basics', header: true },
- { text: 'Project Structure', link: 'core-concepts/project-structure' },
- { text: 'Component Syntax', link: 'core-concepts/astro-components' },
- { text: 'Pages', link: 'core-concepts/astro-pages' },
- { text: 'Layouts', link: 'core-concepts/layouts' },
- { text: 'Routing', link: 'core-concepts/routing' },
- { text: 'Partial Hydration', link: 'core-concepts/component-hydration' },
+ { text: 'Project Structure', link: 'en/core-concepts/project-structure' },
+ { text: 'Component Syntax', link: 'en/core-concepts/astro-components' },
+ { text: 'Pages', link: 'en/core-concepts/astro-pages' },
+ { text: 'Layouts', link: 'en/core-concepts/layouts' },
+ { text: 'Routing', link: 'en/core-concepts/routing' },
+ { text: 'Partial Hydration', link: 'en/core-concepts/component-hydration' },
{ text: 'Guides', header: true },
- { text: 'Styling & CSS', link: 'guides/styling' },
- { text: 'Markdown', link: 'guides/markdown-content' },
- { text: 'Debugging', link: 'guides/debugging' },
- { text: 'Data Fetching', link: 'guides/data-fetching' },
- { text: 'Pagination', link: 'guides/pagination' },
- { text: 'RSS', link: 'guides/rss' },
- { text: 'Supported Imports', link: 'guides/imports' },
- { text: 'Aliases', link: 'guides/aliases' },
- { text: 'Environment Variables', link: 'guides/environment-variables' },
- { text: 'Deploy to the web', link: 'guides/deploy' },
- { text: 'Publish to npm', link: 'guides/publish-to-npm' },
+ { text: 'Styling & CSS', link: 'en/guides/styling' },
+ { text: 'Markdown', link: 'en/guides/markdown-content' },
+ { text: 'Debugging', link: 'en/guides/debugging' },
+ { text: 'Data Fetching', link: 'en/guides/data-fetching' },
+ { text: 'Pagination', link: 'en/guides/pagination' },
+ { text: 'RSS', link: 'en/guides/rss' },
+ { text: 'Supported Imports', link: 'en/guides/imports' },
+ { text: 'Aliases', link: 'en/guides/aliases' },
+ { text: 'Environment Variables', link: 'en/guides/environment-variables' },
+ { text: 'Deploy to the web', link: 'en/guides/deploy' },
+ { text: 'Publish to npm', link: 'en/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: 'Built-In Components', link: 'en/reference/builtin-components' },
+ { text: 'API Reference', link: 'en/reference/api-reference' },
+ { text: 'CLI Reference', link: 'en/reference/cli-reference' },
{
text: 'Configuration Reference',
- link: 'reference/configuration-reference',
+ link: 'en/reference/configuration-reference',
},
- { text: 'Renderer Reference', link: 'reference/renderer-reference' },
+ { text: 'Renderer Reference', link: 'en/reference/renderer-reference' },
],
de: [
{ text: 'Einrichtung', header: true },