From 2257066cacd9890e9269ab32d6e2cf70cc1ab780 Mon Sep 17 00:00:00 2001 From: Pedro Sousa <680496+pedrosousa@users.noreply.github.com> Date: Mon, 24 Feb 2025 11:41:11 +0000 Subject: [PATCH 1/2] [Style Guide] Update link --- src/content/docs/style-guide/components/file-tree.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/style-guide/components/file-tree.mdx b/src/content/docs/style-guide/components/file-tree.mdx index f12473ca68f4b39..39908195ab9a4ee 100644 --- a/src/content/docs/style-guide/components/file-tree.mdx +++ b/src/content/docs/style-guide/components/file-tree.mdx @@ -2,7 +2,7 @@ title: File tree --- -File tree is a built-in component provided by [Starlight](https://starlight.astro.build/guides/components/#file-tree). +File tree is a built-in component provided by [Starlight](https://starlight.astro.build/components/file-tree/). ```mdx live import { FileTree } from "~/components" @@ -14,4 +14,4 @@ import { FileTree } from "~/components" - components - **file-tree.mdx** -``` \ No newline at end of file +``` From c6bf9acd337e4bb7bffc2ab44e70a0c896393e7d Mon Sep 17 00:00:00 2001 From: Pedro Sousa <680496+pedrosousa@users.noreply.github.com> Date: Mon, 24 Feb 2025 11:47:46 +0000 Subject: [PATCH 2/2] Fix other links --- .../docs/style-guide/components/asides.mdx | 2 +- .../docs/style-guide/components/badges.mdx | 2 +- .../docs/style-guide/components/cards.mdx | 26 ++++++++++--------- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/content/docs/style-guide/components/asides.mdx b/src/content/docs/style-guide/components/asides.mdx index d791822e635b964..9a3d810bf12a85c 100644 --- a/src/content/docs/style-guide/components/asides.mdx +++ b/src/content/docs/style-guide/components/asides.mdx @@ -2,7 +2,7 @@ title: Asides --- -Asides are a built-in component provided by [Starlight](https://starlight.astro.build/guides/components/#asides). Although there are more options, use only the ones below. +Asides are a built-in component provided by [Starlight](https://starlight.astro.build/components/asides/). Although there are more options, use only the ones below. ## Note diff --git a/src/content/docs/style-guide/components/badges.mdx b/src/content/docs/style-guide/components/badges.mdx index c806adadf268668..6b093869f4314bc 100644 --- a/src/content/docs/style-guide/components/badges.mdx +++ b/src/content/docs/style-guide/components/badges.mdx @@ -4,7 +4,7 @@ title: Badges import { Badge } from "~/components"; -Badges are a built-in component provided by [Starlight](https://starlight.astro.build/guides/components/#bades). Use them to indicate a product is in beta, for example. +Badges are a built-in component provided by [Starlight](https://starlight.astro.build/components/badges/). Use them to indicate a product is in beta, for example. ## Component diff --git a/src/content/docs/style-guide/components/cards.mdx b/src/content/docs/style-guide/components/cards.mdx index 5e5b205e851a73a..957bf084a2bae47 100644 --- a/src/content/docs/style-guide/components/cards.mdx +++ b/src/content/docs/style-guide/components/cards.mdx @@ -2,15 +2,15 @@ title: Cards --- -Cards are a built-in component provided by [Starlight](https://starlight.astro.build/guides/components/#cards). +Cards are a built-in component provided by [Starlight](https://starlight.astro.build/components/cards/). ## Cards ```mdx live -import { Card } from '~/components'; +import { Card } from "~/components"; - Interesting content you want to highlight. + Interesting content you want to highlight. ``` @@ -20,22 +20,24 @@ import { Card } from '~/components'; import { ListCard } from "~/components"; - - foo - - bar - - baz + +- foo +- bar +- baz + ``` ## Link title cards ```mdx live -import { LinkTitleCard } from '~/components'; +import { LinkTitleCard } from "~/components"; - Interesting content you want to highlight. + Interesting content you want to highlight. -``` \ No newline at end of file +```