From 2bba111689d704a13d0911e1aa8fb08ffdfce091 Mon Sep 17 00:00:00 2001 From: Aram <37216945+alimpens@users.noreply.github.com> Date: Wed, 31 Jan 2024 16:29:09 +0100 Subject: [PATCH] chore: Fix links from React docs to css docs (#1063) --- packages/react/src/Accordion/README.md | 2 +- packages/react/src/Alert/README.md | 2 +- packages/react/src/AspectRatio/README.md | 2 +- packages/react/src/Badge/README.md | 2 +- packages/react/src/Blockquote/README.md | 2 +- packages/react/src/Breadcrumb/README.md | 2 +- packages/react/src/Button/README.md | 2 +- packages/react/src/Card/README.md | 2 +- packages/react/src/Checkbox/README.md | 2 +- packages/react/src/Dialog/README.md | 4 ++-- packages/react/src/Footer/README.md | 2 +- packages/react/src/FormLabel/README.md | 2 +- packages/react/src/Header/README.md | 2 +- packages/react/src/Heading/README.md | 2 +- packages/react/src/Icon/README.md | 2 +- packages/react/src/IconButton/README.md | 2 +- packages/react/src/Image/README.md | 2 +- packages/react/src/Link/README.md | 2 +- packages/react/src/LinkList/README.md | 2 +- packages/react/src/Logo/README.md | 2 +- packages/react/src/Mark/README.md | 2 +- packages/react/src/MegaMenu/README.md | 2 +- packages/react/src/Overlap/README.md | 2 +- packages/react/src/PageHeading/README.md | 2 +- packages/react/src/PageMenu/README.md | 2 +- packages/react/src/Pagination/README.md | 2 +- packages/react/src/Paragraph/README.md | 2 +- packages/react/src/Screen/README.md | 2 +- packages/react/src/SearchField/README.md | 2 +- packages/react/src/SkipLink/README.md | 2 +- packages/react/src/Spotlight/README.md | 2 +- packages/react/src/Switch/README.md | 2 +- packages/react/src/Table/README.md | 2 +- packages/react/src/TextInput/README.md | 2 +- packages/react/src/TopTaskLink/README.md | 2 +- packages/react/src/VisuallyHidden/README.md | 2 +- plop-templates/react.docs.md.hbs | 2 +- 37 files changed, 38 insertions(+), 38 deletions(-) diff --git a/packages/react/src/Accordion/README.md b/packages/react/src/Accordion/README.md index 14566e9b82..0c679302b1 100644 --- a/packages/react/src/Accordion/README.md +++ b/packages/react/src/Accordion/README.md @@ -1,3 +1,3 @@ # React Accordion component -[Accordion documentation](../../../css/src/accordion/README.md) +[Accordion documentation](../../../css/src/components/accordion/README.md) diff --git a/packages/react/src/Alert/README.md b/packages/react/src/Alert/README.md index c46ba476e4..fdde05e550 100644 --- a/packages/react/src/Alert/README.md +++ b/packages/react/src/Alert/README.md @@ -1,3 +1,3 @@ # React Alert component -[Alert documentation](../../../css/src/alert/README.md) +[Alert documentation](../../../css/src/components/alert/README.md) diff --git a/packages/react/src/AspectRatio/README.md b/packages/react/src/AspectRatio/README.md index 64409b27d5..9bd098baa4 100644 --- a/packages/react/src/AspectRatio/README.md +++ b/packages/react/src/AspectRatio/README.md @@ -1,3 +1,3 @@ # React Aspect Ratio component -[Aspect ratio documentation](../../../css/src/aspect-ratio/README.md) +[Aspect ratio documentation](../../../css/src/components/aspect-ratio/README.md) diff --git a/packages/react/src/Badge/README.md b/packages/react/src/Badge/README.md index b34e77c7c1..dbe2706624 100644 --- a/packages/react/src/Badge/README.md +++ b/packages/react/src/Badge/README.md @@ -1,3 +1,3 @@ # React Badge component -[Badge documentation](../../../css/src/badge/README.md) +[Badge documentation](../../../css/src/components/badge/README.md) diff --git a/packages/react/src/Blockquote/README.md b/packages/react/src/Blockquote/README.md index b8057f6d37..eef0fa7d49 100644 --- a/packages/react/src/Blockquote/README.md +++ b/packages/react/src/Blockquote/README.md @@ -1,3 +1,3 @@ # React Blockquote component -[Blockquote documentation](../../../css/src/blockquote/README.md) +[Blockquote documentation](../../../css/src/components/blockquote/README.md) diff --git a/packages/react/src/Breadcrumb/README.md b/packages/react/src/Breadcrumb/README.md index 413d14fbd6..e8846149fb 100644 --- a/packages/react/src/Breadcrumb/README.md +++ b/packages/react/src/Breadcrumb/README.md @@ -1,3 +1,3 @@ # React Breadcrumb component -[Breadcrumb documentation](../../../css/src/breadcrumb/README.md) +[Breadcrumb documentation](../../../css/src/components/breadcrumb/README.md) diff --git a/packages/react/src/Button/README.md b/packages/react/src/Button/README.md index 40cb05965e..8a89b549c2 100644 --- a/packages/react/src/Button/README.md +++ b/packages/react/src/Button/README.md @@ -1,3 +1,3 @@ # React Button Component -[Button documentation](../../../css/src/button/README.md) +[Button documentation](../../../css/src/components/button/README.md) diff --git a/packages/react/src/Card/README.md b/packages/react/src/Card/README.md index 5e82fde7fd..da4bfbc645 100644 --- a/packages/react/src/Card/README.md +++ b/packages/react/src/Card/README.md @@ -1,3 +1,3 @@ # React Card component -[Card documentation](../../../css/src/card/README.md) +[Card documentation](../../../css/src/components/card/README.md) diff --git a/packages/react/src/Checkbox/README.md b/packages/react/src/Checkbox/README.md index bdf3c85dbb..d77a895645 100644 --- a/packages/react/src/Checkbox/README.md +++ b/packages/react/src/Checkbox/README.md @@ -1,3 +1,3 @@ # React Checkbox component -[Checkbox documentation](../../../css/src/checkbox/README.md) +[Checkbox documentation](../../../css/src/components/checkbox/README.md) diff --git a/packages/react/src/Dialog/README.md b/packages/react/src/Dialog/README.md index 79439513a4..3ab66826b3 100644 --- a/packages/react/src/Dialog/README.md +++ b/packages/react/src/Dialog/README.md @@ -1,3 +1,3 @@ -# React Modal component +# React Dialog component -[Modal documentation](../../../css/src/modal/README.md) +[Dialog documentation](../../../css/src/components/dialog/README.md) diff --git a/packages/react/src/Footer/README.md b/packages/react/src/Footer/README.md index 43208b8582..6e9ad988ed 100644 --- a/packages/react/src/Footer/README.md +++ b/packages/react/src/Footer/README.md @@ -1,3 +1,3 @@ # React Footer component -[Footer documentation](../../../css/src/footer/README.md) +[Footer documentation](../../../css/src/components/footer/README.md) diff --git a/packages/react/src/FormLabel/README.md b/packages/react/src/FormLabel/README.md index 5ee9430db6..33b7029931 100644 --- a/packages/react/src/FormLabel/README.md +++ b/packages/react/src/FormLabel/README.md @@ -1,3 +1,3 @@ # React Form Label Component -[Form label documentation](../../../css/src/form-label/README.md) +[Form label documentation](../../../css/src/components/form-label/README.md) diff --git a/packages/react/src/Header/README.md b/packages/react/src/Header/README.md index 81814b1e6d..96a664655b 100644 --- a/packages/react/src/Header/README.md +++ b/packages/react/src/Header/README.md @@ -1,3 +1,3 @@ # React Header component -[Header documentation](../../../css/src/header/README.md) +[Header documentation](../../../css/src/components/header/README.md) diff --git a/packages/react/src/Heading/README.md b/packages/react/src/Heading/README.md index f802f7dd0b..77ca95870b 100644 --- a/packages/react/src/Heading/README.md +++ b/packages/react/src/Heading/README.md @@ -1,3 +1,3 @@ # React Heading Component -[Heading documentation](../../../css/src/heading/README.md) +[Heading documentation](../../../css/src/components/heading/README.md) diff --git a/packages/react/src/Icon/README.md b/packages/react/src/Icon/README.md index 1746ca5ae3..2d1697cfb4 100644 --- a/packages/react/src/Icon/README.md +++ b/packages/react/src/Icon/README.md @@ -1,3 +1,3 @@ # React Icon Component -[Icon documentation](../../../css/src/icon/README.md) +[Icon documentation](../../../css/src/components/icon/README.md) diff --git a/packages/react/src/IconButton/README.md b/packages/react/src/IconButton/README.md index 219ddec1f0..e37e3a46fb 100644 --- a/packages/react/src/IconButton/README.md +++ b/packages/react/src/IconButton/README.md @@ -1,3 +1,3 @@ # React Icon Button component -[Icon Button documentation](../../../css/src/icon-button/README.md) +[Icon Button documentation](../../../css/src/components/icon-button/README.md) diff --git a/packages/react/src/Image/README.md b/packages/react/src/Image/README.md index f64b03820c..ef4a49c8dc 100644 --- a/packages/react/src/Image/README.md +++ b/packages/react/src/Image/README.md @@ -1,3 +1,3 @@ # React Image component -[Image documentation](../../../css/src/image/README.md) +[Image documentation](../../../css/src/components/image/README.md) diff --git a/packages/react/src/Link/README.md b/packages/react/src/Link/README.md index b7f16cf451..da664d6439 100644 --- a/packages/react/src/Link/README.md +++ b/packages/react/src/Link/README.md @@ -1,3 +1,3 @@ # React Link Component -[Link documentation](../../../css/src/link/README.md) +[Link documentation](../../../css/src/components/link/README.md) diff --git a/packages/react/src/LinkList/README.md b/packages/react/src/LinkList/README.md index 923182decd..9f4f8bb090 100644 --- a/packages/react/src/LinkList/README.md +++ b/packages/react/src/LinkList/README.md @@ -1,3 +1,3 @@ # React Link List component -[Link List documentation](../../../css/src/link-list/README.md) +[Link List documentation](../../../css/src/components/link-list/README.md) diff --git a/packages/react/src/Logo/README.md b/packages/react/src/Logo/README.md index 126613ec5a..fe08990298 100644 --- a/packages/react/src/Logo/README.md +++ b/packages/react/src/Logo/README.md @@ -1,3 +1,3 @@ # React Logo component -[Logo documentation](../../../css/src/logo/README.md) +[Logo documentation](../../../css/src/components/logo/README.md) diff --git a/packages/react/src/Mark/README.md b/packages/react/src/Mark/README.md index ceee55e3e0..6969fc292d 100644 --- a/packages/react/src/Mark/README.md +++ b/packages/react/src/Mark/README.md @@ -1,3 +1,3 @@ # React Mark component -[Mark documentation](../../../css/src/mark/README.md) +[Mark documentation](../../../css/src/components/mark/README.md) diff --git a/packages/react/src/MegaMenu/README.md b/packages/react/src/MegaMenu/README.md index b199a582db..4226578e2b 100644 --- a/packages/react/src/MegaMenu/README.md +++ b/packages/react/src/MegaMenu/README.md @@ -1,3 +1,3 @@ # React Mega Menu component -[Mega Menu documentation](../../../css/src/mega-menu/README.md) +[Mega Menu documentation](../../../css/src/components/mega-menu/README.md) diff --git a/packages/react/src/Overlap/README.md b/packages/react/src/Overlap/README.md index 09be12dc64..a617077ad9 100644 --- a/packages/react/src/Overlap/README.md +++ b/packages/react/src/Overlap/README.md @@ -1,3 +1,3 @@ # React Overlap component -[Overlap documentation](../../../css/src/overlap/README.md) +[Overlap documentation](../../../css/src/components/overlap/README.md) diff --git a/packages/react/src/PageHeading/README.md b/packages/react/src/PageHeading/README.md index a649c31f7b..7acf01b270 100644 --- a/packages/react/src/PageHeading/README.md +++ b/packages/react/src/PageHeading/README.md @@ -1,3 +1,3 @@ # React Page Heading component -[Page heading documentation](../../../css/src/page-heading/README.md) +[Page heading documentation](../../../css/src/components/page-heading/README.md) diff --git a/packages/react/src/PageMenu/README.md b/packages/react/src/PageMenu/README.md index c62eae8b8c..6a0ff638e5 100644 --- a/packages/react/src/PageMenu/README.md +++ b/packages/react/src/PageMenu/README.md @@ -1,3 +1,3 @@ # Page Menu -[Page menu documentation](../../../css/src/page-menu/README.md) +[Page menu documentation](../../../css/src/components/page-menu/README.md) diff --git a/packages/react/src/Pagination/README.md b/packages/react/src/Pagination/README.md index 24159b2865..7095f350cc 100644 --- a/packages/react/src/Pagination/README.md +++ b/packages/react/src/Pagination/README.md @@ -1,3 +1,3 @@ # React Pagination component -[Pagination documentation](../../../css/src/pagination/README.md) +[Pagination documentation](../../../css/src/components/pagination/README.md) diff --git a/packages/react/src/Paragraph/README.md b/packages/react/src/Paragraph/README.md index eddb381cc0..4bc910ae64 100644 --- a/packages/react/src/Paragraph/README.md +++ b/packages/react/src/Paragraph/README.md @@ -1,3 +1,3 @@ # React Paragraph Component -[Paragraph documentation](../../../css/src/paragraph/README.md) +[Paragraph documentation](../../../css/src/components/paragraph/README.md) diff --git a/packages/react/src/Screen/README.md b/packages/react/src/Screen/README.md index 813f27debd..fe968d1a38 100644 --- a/packages/react/src/Screen/README.md +++ b/packages/react/src/Screen/README.md @@ -1,3 +1,3 @@ # React Screen component -[Screen documentation](../../../css/src/screen/README.md) +[Screen documentation](../../../css/src/components/screen/README.md) diff --git a/packages/react/src/SearchField/README.md b/packages/react/src/SearchField/README.md index c911760eb8..0c99ba5b14 100644 --- a/packages/react/src/SearchField/README.md +++ b/packages/react/src/SearchField/README.md @@ -1,3 +1,3 @@ # React Search Field component -[Search Field documentation](../../../css/src/search-field/README.md) +[Search Field documentation](../../../css/src/components/search-field/README.md) diff --git a/packages/react/src/SkipLink/README.md b/packages/react/src/SkipLink/README.md index 1171149ddf..bc6be02506 100644 --- a/packages/react/src/SkipLink/README.md +++ b/packages/react/src/SkipLink/README.md @@ -1,3 +1,3 @@ # React Skip Link component -[Skip Link documentation](../../../css/src/skip-link/README.md) +[Skip Link documentation](../../../css/src/components/skip-link/README.md) diff --git a/packages/react/src/Spotlight/README.md b/packages/react/src/Spotlight/README.md index ecc6501f9c..1bb59b43f0 100644 --- a/packages/react/src/Spotlight/README.md +++ b/packages/react/src/Spotlight/README.md @@ -1,3 +1,3 @@ # React Spotlight component -[Spotlight documentation](../../../css/src/spotlight/README.md) +[Spotlight documentation](../../../css/src/components/spotlight/README.md) diff --git a/packages/react/src/Switch/README.md b/packages/react/src/Switch/README.md index c015a87e03..467385f6fd 100644 --- a/packages/react/src/Switch/README.md +++ b/packages/react/src/Switch/README.md @@ -5,4 +5,4 @@ It can be used as a standalone component or as a form control element. When used as a standalone component provide a `aria-labelledby` prop to keep it accessible. When used as a form control, make sure to add the associated `` component. -[Switch documentation](../../../css/src/switch/README.md) +[Switch documentation](../../../css/src/components/switch/README.md) diff --git a/packages/react/src/Table/README.md b/packages/react/src/Table/README.md index 0cb10127cb..55e68ee120 100644 --- a/packages/react/src/Table/README.md +++ b/packages/react/src/Table/README.md @@ -1,3 +1,3 @@ # React Table component -[Table documentation](../../../css/src/table/README.md) +[Table documentation](../../../css/src/components/table/README.md) diff --git a/packages/react/src/TextInput/README.md b/packages/react/src/TextInput/README.md index 61e26e1028..4915c45d95 100644 --- a/packages/react/src/TextInput/README.md +++ b/packages/react/src/TextInput/README.md @@ -1,3 +1,3 @@ # React Text Input component -[Text Input documentation](../../../css/src/text-input/README.md) +[Text Input documentation](../../../css/src/components/text-input/README.md) diff --git a/packages/react/src/TopTaskLink/README.md b/packages/react/src/TopTaskLink/README.md index 763b7257c1..b3444c7cac 100644 --- a/packages/react/src/TopTaskLink/README.md +++ b/packages/react/src/TopTaskLink/README.md @@ -1,3 +1,3 @@ # React Top Task Link component -[Top task link documentation](../../../css/src/top-task-link/README.md) +[Top task link documentation](../../../css/src/components/top-task-link/README.md) diff --git a/packages/react/src/VisuallyHidden/README.md b/packages/react/src/VisuallyHidden/README.md index 47dc641374..5f00f4c141 100644 --- a/packages/react/src/VisuallyHidden/README.md +++ b/packages/react/src/VisuallyHidden/README.md @@ -1,3 +1,3 @@ # React Visually Hidden component -[Visually hidden documentation](../../../css/src/visually-hidden/README.md) +[Visually hidden documentation](../../../css/src/components/visually-hidden/README.md) diff --git a/plop-templates/react.docs.md.hbs b/plop-templates/react.docs.md.hbs index 013100b246..2de062a13d 100644 --- a/plop-templates/react.docs.md.hbs +++ b/plop-templates/react.docs.md.hbs @@ -1,3 +1,3 @@ # React {{titleCase name}} component -[{{titleCase name}} documentation](../../../css/src/{{kebabCase name}}/README.md) +[{{titleCase name}} documentation](../../../css/src/components/{{kebabCase name}}/README.md)