diff --git a/packages/astro-rss/README.md b/packages/astro-rss/README.md index ca1c7cf038c4..268f58f26690 100644 --- a/packages/astro-rss/README.md +++ b/packages/astro-rss/README.md @@ -17,7 +17,7 @@ pnpm i @astrojs/rss ## Example usage -The `@astrojs/rss` package provides helpers for generating RSS feeds within [Astro endpoints][astro-endpoints]. This unlocks both static builds _and_ on-demand generation when using an [SSR adapter](https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project). +The `@astrojs/rss` package provides helpers for generating RSS feeds within [Astro endpoints][astro-endpoints]. This unlocks both static builds _and_ on-demand generation when using an [SSR adapter](https://docs.astro.build/en/guides/server-side-rendering/). For instance, say you need to generate an RSS feed for all posts under `src/content/blog/` using content collections. diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 778e5b739a30..7b08808a5012 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -220,7 +220,7 @@ export interface AstroGlobal< * } * ``` * - * [Astro reference](https://docs.astro.build/en/guides/server-side-rendering/#astroredirect) + * [Astro reference](https://docs.astro.build/en/guides/server-side-rendering/) */ redirect: AstroSharedContext['redirect']; /** diff --git a/packages/astro/src/core/errors/errors-data.ts b/packages/astro/src/core/errors/errors-data.ts index b3849b150baa..408957658770 100644 --- a/packages/astro/src/core/errors/errors-data.ts +++ b/packages/astro/src/core/errors/errors-data.ts @@ -36,7 +36,7 @@ export const UnknownCompilerError = { /** * @docs * @see - * - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project) + * - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/) * - [Astro.redirect](https://docs.astro.build/en/reference/api-reference/#astroredirect) * @description * The `Astro.redirect` function is only available when [Server-side rendering](/en/guides/server-side-rendering/) is enabled. @@ -49,7 +49,7 @@ export const StaticRedirectNotAvailable = { title: '`Astro.redirect` is not available in static mode.', message: "Redirects are only available when using `output: 'server'` or `output: 'hybrid'`. Update your Astro config if you need SSR features.", - hint: 'See https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project for more information on how to enable SSR.', + hint: 'See https://docs.astro.build/en/guides/server-side-rendering/ for more information on how to enable SSR.', } satisfies ErrorData; /** * @docs @@ -68,7 +68,7 @@ export const ClientAddressNotAvailable = { /** * @docs * @see - * - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project) + * - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/) * - [Astro.clientAddress](https://docs.astro.build/en/reference/api-reference/#astroclientaddress) * @description * The `Astro.clientAddress` property is only available when [Server-side rendering](https://docs.astro.build/en/guides/server-side-rendering/) is enabled. @@ -80,7 +80,7 @@ export const StaticClientAddressNotAvailable = { title: '`Astro.clientAddress` is not available in static mode.', message: "`Astro.clientAddress` is only available when using `output: 'server'` or `output: 'hybrid'`. Update your Astro config if you need SSR features.", - hint: 'See https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project for more information on how to enable SSR.', + hint: 'See https://docs.astro.build/en/guides/server-side-rendering/ for more information on how to enable SSR.', } satisfies ErrorData; /** * @docs @@ -407,7 +407,6 @@ export const ReservedSlotName = { * @docs * @see * - [Server-side Rendering](https://docs.astro.build/en/guides/server-side-rendering/) - * - [Adding an Adapter](https://docs.astro.build/en/guides/server-side-rendering/#adding-an-adapter) * @description * To use server-side rendering, an adapter needs to be installed so Astro knows how to generate the proper output for your targeted deployment platform. */