Skip to content

Commit 46d3043

Browse files
authored
[docs] remove outdated anchor links (#8941)
1 parent 5fed432 commit 46d3043

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

packages/astro-rss/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pnpm i @astrojs/rss
1717

1818
## Example usage
1919

20-
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).
20+
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/).
2121

2222
For instance, say you need to generate an RSS feed for all posts under `src/content/blog/` using content collections.
2323

packages/astro/src/@types/astro.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export interface AstroGlobal<
220220
* }
221221
* ```
222222
*
223-
* [Astro reference](https://docs.astro.build/en/guides/server-side-rendering/#astroredirect)
223+
* [Astro reference](https://docs.astro.build/en/guides/server-side-rendering/)
224224
*/
225225
redirect: AstroSharedContext['redirect'];
226226
/**

packages/astro/src/core/errors/errors-data.ts

+4-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const UnknownCompilerError = {
3636
/**
3737
* @docs
3838
* @see
39-
* - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project)
39+
* - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/)
4040
* - [Astro.redirect](https://docs.astro.build/en/reference/api-reference/#astroredirect)
4141
* @description
4242
* 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 = {
4949
title: '`Astro.redirect` is not available in static mode.',
5050
message:
5151
"Redirects are only available when using `output: 'server'` or `output: 'hybrid'`. Update your Astro config if you need SSR features.",
52-
hint: 'See https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project for more information on how to enable SSR.',
52+
hint: 'See https://docs.astro.build/en/guides/server-side-rendering/ for more information on how to enable SSR.',
5353
} satisfies ErrorData;
5454
/**
5555
* @docs
@@ -68,7 +68,7 @@ export const ClientAddressNotAvailable = {
6868
/**
6969
* @docs
7070
* @see
71-
* - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project)
71+
* - [Enabling SSR in Your Project](https://docs.astro.build/en/guides/server-side-rendering/)
7272
* - [Astro.clientAddress](https://docs.astro.build/en/reference/api-reference/#astroclientaddress)
7373
* @description
7474
* 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 = {
8080
title: '`Astro.clientAddress` is not available in static mode.',
8181
message:
8282
"`Astro.clientAddress` is only available when using `output: 'server'` or `output: 'hybrid'`. Update your Astro config if you need SSR features.",
83-
hint: 'See https://docs.astro.build/en/guides/server-side-rendering/#enabling-ssr-in-your-project for more information on how to enable SSR.',
83+
hint: 'See https://docs.astro.build/en/guides/server-side-rendering/ for more information on how to enable SSR.',
8484
} satisfies ErrorData;
8585
/**
8686
* @docs
@@ -407,7 +407,6 @@ export const ReservedSlotName = {
407407
* @docs
408408
* @see
409409
* - [Server-side Rendering](https://docs.astro.build/en/guides/server-side-rendering/)
410-
* - [Adding an Adapter](https://docs.astro.build/en/guides/server-side-rendering/#adding-an-adapter)
411410
* @description
412411
* 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.
413412
*/

0 commit comments

Comments
 (0)