From 5a667bef0e852e4c547b8586e04ba8f47bcf363b Mon Sep 17 00:00:00 2001 From: Luke Shay Date: Fri, 8 Mar 2024 09:15:17 -0600 Subject: [PATCH] Fixed links --- apps/docs/astro.config.ts | 2 ++ apps/docs/src/content/docs/guides/02-query-parameters.md | 2 +- apps/docs/src/content/docs/guides/03-cookies.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/docs/astro.config.ts b/apps/docs/astro.config.ts index 76dcfd5..d893474 100644 --- a/apps/docs/astro.config.ts +++ b/apps/docs/astro.config.ts @@ -1,5 +1,6 @@ import { defineConfig } from "astro/config" import starlight from "@astrojs/starlight" +import starlightLinksValidator from "starlight-links-validator" // https://astro.build/config export default defineConfig({ @@ -26,6 +27,7 @@ export default defineConfig({ }, tagline: "AWS CDK constructs for Astro", title: "Astro AWS", + plugins: [starlightLinksValidator()], }), ], output: "static", diff --git a/apps/docs/src/content/docs/guides/02-query-parameters.md b/apps/docs/src/content/docs/guides/02-query-parameters.md index 824ec9a..02e2376 100644 --- a/apps/docs/src/content/docs/guides/02-query-parameters.md +++ b/apps/docs/src/content/docs/guides/02-query-parameters.md @@ -5,7 +5,7 @@ description: Describes how to access query parameters on the server. ## Setup -Follow the [getting started guide](./getting-started) to create a new Astro project with the Astro AWS adapter. +Follow the [getting started guide](/guides/01-getting-started) to create a new Astro project with the Astro AWS adapter. ## Allowing Query Parameters diff --git a/apps/docs/src/content/docs/guides/03-cookies.md b/apps/docs/src/content/docs/guides/03-cookies.md index 23956e4..b9b35da 100644 --- a/apps/docs/src/content/docs/guides/03-cookies.md +++ b/apps/docs/src/content/docs/guides/03-cookies.md @@ -5,7 +5,7 @@ description: Describes how to access cookies on the server. ## Setup -Follow the [getting started guide](./getting-started) to create a new Astro project with the Astro AWS adapter. +Follow the [getting started guide](/guides/01-getting-started) to create a new Astro project with the Astro AWS adapter. ## Allowing Cookies