From b0a5aa8ef72bb9c2fbbc7f93ed7048a127779d4e Mon Sep 17 00:00:00 2001 From: Pedro Sousa <680496+pedrosousa@users.noreply.github.com> Date: Mon, 24 Feb 2025 12:12:40 +0000 Subject: [PATCH] [Style Guide] Update links to Starlight docs (#20215) --- .../docs/style-guide/components/asides.mdx | 2 +- .../docs/style-guide/components/badges.mdx | 2 +- .../docs/style-guide/components/cards.mdx | 26 ++++++++++--------- .../docs/style-guide/components/file-tree.mdx | 4 +-- 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/content/docs/style-guide/components/asides.mdx b/src/content/docs/style-guide/components/asides.mdx index d791822e63..9a3d810bf1 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 c806adadf2..6b093869f4 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 5e5b205e85..957bf084a2 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 +``` diff --git a/src/content/docs/style-guide/components/file-tree.mdx b/src/content/docs/style-guide/components/file-tree.mdx index f12473ca68..39908195ab 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 +```