From a2f8c5d85ff15803f5cedf9148cd70ffc138ddef Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 15 Sep 2024 21:53:30 +0200 Subject: [PATCH] docs: fix Content Layer RFC Link (#12000) --- .changeset/healthy-donuts-yell.md | 5 +++++ packages/astro/src/@types/astro.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/healthy-donuts-yell.md diff --git a/.changeset/healthy-donuts-yell.md b/.changeset/healthy-donuts-yell.md new file mode 100644 index 0000000000..ad90795410 --- /dev/null +++ b/.changeset/healthy-donuts-yell.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes an outdated link used to document Content Layer API diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts index 41a8748719..ac281481bf 100644 --- a/packages/astro/src/@types/astro.ts +++ b/packages/astro/src/@types/astro.ts @@ -2279,7 +2279,7 @@ export interface AstroUserConfig { * export const collections = { countries }; * ``` * - * For more advanced loading logic, you can define an object loader. This allows incremental updates and conditional loading while also giving full access to the data store. See the API in [the Content Layer API RFC](https://github.com/withastro/roadmap/blob/content-layer/proposals/0047-content-layer.md#loaders). + * For more advanced loading logic, you can define an object loader. This allows incremental updates and conditional loading while also giving full access to the data store. See the API in [the Content Layer API RFC](https://github.com/withastro/roadmap/blob/content-layer/proposals/0050-content-layer.md#loaders). * * #### Migrating an existing content collection to use the Content Layer API * @@ -2344,7 +2344,7 @@ export interface AstroUserConfig { * * #### Learn more * - * For a complete overview and the full API reference, see [the Content Layer API RFC](https://github.com/withastro/roadmap/blob/content-layer/proposals/0047-content-layer.md) and [share your feedback](https://github.com/withastro/roadmap/pull/982). + * For a complete overview and the full API reference, see [the Content Layer API RFC](https://github.com/withastro/roadmap/blob/content-layer/proposals/0050-content-layer.md) and [share your feedback](https://github.com/withastro/roadmap/pull/982). */ contentLayer?: boolean; };