0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-24 23:21:57 -05:00

[docs] remove outdated anchor links (#8941)

This commit is contained in:
Sarah Rainsberger 2023-10-28 11:44:09 -03:00 committed by GitHub
parent 5fed432b0c
commit 46d3043a3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 7 deletions

View file

@ -17,7 +17,7 @@ pnpm i @astrojs/rss
## Example usage ## 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. For instance, say you need to generate an RSS feed for all posts under `src/content/blog/` using content collections.

View file

@ -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']; redirect: AstroSharedContext['redirect'];
/** /**

View file

@ -36,7 +36,7 @@ export const UnknownCompilerError = {
/** /**
* @docs * @docs
* @see * @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) * - [Astro.redirect](https://docs.astro.build/en/reference/api-reference/#astroredirect)
* @description * @description
* The `Astro.redirect` function is only available when [Server-side rendering](/en/guides/server-side-rendering/) is enabled. * 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.', title: '`Astro.redirect` is not available in static mode.',
message: message:
"Redirects are only available when using `output: 'server'` or `output: 'hybrid'`. Update your Astro config if you need SSR features.", "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; } satisfies ErrorData;
/** /**
* @docs * @docs
@ -68,7 +68,7 @@ export const ClientAddressNotAvailable = {
/** /**
* @docs * @docs
* @see * @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) * - [Astro.clientAddress](https://docs.astro.build/en/reference/api-reference/#astroclientaddress)
* @description * @description
* The `Astro.clientAddress` property is only available when [Server-side rendering](https://docs.astro.build/en/guides/server-side-rendering/) is enabled. * 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.', title: '`Astro.clientAddress` is not available in static mode.',
message: message:
"`Astro.clientAddress` is only available when using `output: 'server'` or `output: 'hybrid'`. Update your Astro config if you need SSR features.", "`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; } satisfies ErrorData;
/** /**
* @docs * @docs
@ -407,7 +407,6 @@ export const ReservedSlotName = {
* @docs * @docs
* @see * @see
* - [Server-side Rendering](https://docs.astro.build/en/guides/server-side-rendering/) * - [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 * @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. * 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.
*/ */