mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
docs(i18n): fix typo in fallbackType
JSDoc comment (#11870)
This commit is contained in:
parent
21747e9eae
commit
8e5257adda
2 changed files with 6 additions and 1 deletions
5
.changeset/little-zebras-march.md
Normal file
5
.changeset/little-zebras-march.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixes typo in documenting the `fallbackType` property in i18n routing
|
|
@ -1683,7 +1683,7 @@ export interface AstroUserConfig {
|
|||
*
|
||||
* When `i18n.routing.fallback: "rewrite"` is configured, Astro will create pages that render the contents of the fallback page on the original, requested URL.
|
||||
*
|
||||
* With the following configuration, if you have the file `src/pages/en/about.astro` but not `src/pages/fr/about.astro`, the `astro build` command will generate `dist/fr/about.html` with the same content as the `dist/en/index.html` page.
|
||||
* With the following configuration, if you have the file `src/pages/en/about.astro` but not `src/pages/fr/about.astro`, the `astro build` command will generate `dist/fr/about.html` with the same content as the `dist/en/about.html` page.
|
||||
* Your site visitor will see the English version of the page at `https://example.com/fr/about/` and will not be redirected.
|
||||
*
|
||||
* ```js
|
||||
|
|
Loading…
Add table
Reference in a new issue