From 8e5257addaeff809ed6f0c47ac0ed4ded755320e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 30 Aug 2024 10:45:31 +0200 Subject: [PATCH] docs(i18n): fix typo in `fallbackType` JSDoc comment (#11870) --- .changeset/little-zebras-march.md | 5 +++++ packages/astro/src/@types/astro.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/little-zebras-march.md diff --git a/.changeset/little-zebras-march.md b/.changeset/little-zebras-march.md new file mode 100644 index 0000000000000..6c774c25c3a19 --- /dev/null +++ b/.changeset/little-zebras-march.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes typo in documenting the `fallbackType` property in i18n routing diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 87ddb65e26990..0b4f7c0ef3dd9 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -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