From de96637ecc01af452f980decd8b692e34c87957f Mon Sep 17 00:00:00 2001 From: delucis <357379+delucis@users.noreply.github.com> Date: Tue, 23 Sep 2025 12:06:42 +0000 Subject: [PATCH] ci: update reference docs --- .../docs/en/reference/configuration-reference.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/content/docs/en/reference/configuration-reference.mdx b/src/content/docs/en/reference/configuration-reference.mdx index a907cadcc1a6f..22962121c2eba 100644 --- a/src/content/docs/en/reference/configuration-reference.mdx +++ b/src/content/docs/en/reference/configuration-reference.mdx @@ -100,7 +100,7 @@ Set the route matching behavior for trailing slashes in the dev server and on-de When redirects occur in production for GET requests, the redirect will be a 301 (permanent) redirect. For all other request methods, it will be a 308 (permanent, and preserve the request method) redirect. Trailing slashes on prerendered pages are handled by the hosting platform, and may not respect your chosen configuration. -See your hosting platform's documentation for more information. You cannot use Astro [redirects](#redirects) for this use case at this point. +See your hosting platform's documentation for more information. You cannot use Astro [redirects](/en/reference/configuration-reference/#redirects) for this use case at this point. ```js { @@ -476,7 +476,7 @@ Setting `build.format` controls what `Astro.url` is set to during the build. Whe This means that when you create relative URLs using `new URL('./relative', Astro.url)`, you will get consistent behavior between dev and build. -To prevent inconsistencies with trailing slash behaviour in dev, you can restrict the [`trailingSlash` option](#trailingslash) to `'always'` or `'never'` depending on your build format: +To prevent inconsistencies with trailing slash behaviour in dev, you can restrict the [`trailingSlash` option](/en/reference/configuration-reference/#trailingslash) to `'always'` or `'never'` depending on your build format: - `directory` - Set `trailingSlash: 'always'` - `file` - Set `trailingSlash: 'never'` @@ -957,7 +957,7 @@ Add this attribute to any `` link on your page to enable prefetching for th ```html About ``` -Further customize the default prefetching behavior using the [`prefetch.defaultStrategy`](#prefetchdefaultstrategy) and [`prefetch.prefetchAll`](#prefetchprefetchall) options. +Further customize the default prefetching behavior using the [`prefetch.defaultStrategy`](/en/reference/configuration-reference/#prefetchdefaultstrategy) and [`prefetch.prefetchAll`](/en/reference/configuration-reference/#prefetchprefetchall) options. See the [Prefetch guide](/en/guides/prefetch/) for more information. @@ -1083,7 +1083,7 @@ Set `false` to bypass the default image size limit for the Sharp image service a Defines a list of permitted image source domains for remote image optimization. No other remote images will be optimized by Astro. -This option requires an array of individual domain names as strings. Wildcards are not permitted. Instead, use [`image.remotePatterns`](#imageremotepatterns) to define a list of allowed source URL patterns. +This option requires an array of individual domain names as strings. Wildcards are not permitted. Instead, use [`image.remotePatterns`](/en/reference/configuration-reference/#imageremotepatterns) to define a list of allowed source URL patterns. ```js // astro.config.mjs @@ -1580,7 +1580,7 @@ export default defineConfig({

-When [`i18n.fallback`](#i18nfallback) is configured to avoid showing a 404 page for missing page routes, this option controls whether to [redirect](/en/guides/routing/#redirects) to the fallback page, or to [rewrite](/en/guides/routing/#rewrites) the fallback page's content in place. +When [`i18n.fallback`](/en/reference/configuration-reference/#i18nfallback) is configured to avoid showing a 404 page for missing page routes, this option controls whether to [redirect](/en/guides/routing/#redirects) to the fallback page, or to [rewrite](/en/guides/routing/#rewrites) the fallback page's content in place. By default, Astro's i18n routing creates pages that redirect your visitors to a new destination based on your fallback configuration. The browser will refresh and show the destination address in the URL bar.