Skip to content

Commit 7bffce7

Browse files
committed
stories: fix dead links
1 parent edca910 commit 7bffce7

13 files changed

+21
-21
lines changed

stories/ButtonsGroup.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { meta, getStory } = getStoryFactory({
99
"wrappedComponent": { ButtonsGroup },
1010
"description": `
1111
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/groupe-de-boutons)
12-
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/ButtonGroup.tsx)`,
12+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/ButtonsGroup.tsx)`,
1313
"argTypes": {
1414
"inlineLayoutWhen": {
1515
"options": (() => {

stories/ConsentManagement.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const { meta, getStory } = getStoryFactory({
1515
},
1616
"description": `
1717
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/gestionnaire-de-consentement),
18-
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/gdpr)
18+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/consentManagement)
1919
2020
\`src/consentManagement.tsx\` (This is a file you should create in your project)
2121

stories/Display.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const { meta, getStory } = getStoryFactory({
1212
"description": `
1313
A button that opens a dialog to enable the user to select light or dark mode.
1414
15-
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/parametres-d-affichage),
16-
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Display.tsx)
15+
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/parametre-d-affichage),
16+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Display/Display.tsx)
1717
1818
Optionally, you can also use \`import { useIsDark } from "@codegouvfr/react-dsfr"\` to manually monitor and controls
1919
the theme state.

stories/Follow.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { meta, getStory } = getStoryFactory<FollowProps>({
88
sectionName,
99
wrappedComponent: { Follow },
1010
description: `
11-
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/lettre-d-information-et-reseaux-sociaux)
11+
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/lettre-d-information-et-reseaux-sociaux)
1212
- [See DSFR demos](https://main--ds-gouv.netlify.app/example/component/follow/)
1313
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Follow.tsx)`,
1414
argTypes: {

stories/Header.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const { meta, getStory } = getStoryFactory({
1313
"wrappedComponent": { Header },
1414
"description": `
1515
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/en-tete)
16-
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Header.tsx)
16+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Header/Header.tsx)
1717
1818
See also [\\<MainNavigation \\/\\>](https://components.react-dsfr.codegouv.studio/?path=/docs/components-mainnavigation)
1919

stories/Pagination.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ const { meta, getStory } = getStoryFactory({
66
sectionName,
77
"wrappedComponent": { Pagination },
88
"description": `
9-
- [See DSFR documentation](//www.systeme-de-design.gouv.fr/elements-d-interface/composants/pagination)
10-
- [See DSFR demos](//main--ds-gouv.netlify.app/example/component/pagination/)
11-
- [See source code](//github.com/codegouvfr/react-dsfr/blob/main/src/Pagination.tsx)`,
9+
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/pagination)
10+
- [See DSFR demos](https://main--ds-gouv.netlify.app/example/component/pagination/)
11+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Pagination.tsx)`,
1212
"disabledProps": ["lang"]
1313
});
1414

stories/Quote.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const { meta, getStory } = getStoryFactory({
77
sectionName,
88
"wrappedComponent": { Quote },
99
"description": `
10-
- [See DSFR documentation](//www.systeme-de-design.gouv.fr/elements-d-interface/composants/citation)
11-
- [See source code](//github.com/codegouvfr/react-dsfr/blob/main/src/Quote.tsx)`,
10+
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/citation)
11+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Quote.tsx)`,
1212
"disabledProps": ["lang"]
1313
});
1414

stories/SearchBar.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const { meta, getStory } = getStoryFactory({
1010
"wrappedComponent": { SearchBar },
1111
"description": `
1212
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/barre-de-recherche)
13-
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/SearchBar.tsx)`,
13+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/SearchBar/SearchBar.tsx)`,
1414
"argTypes": {
1515
"big": {
1616
"description": "Use the big variant if you have space to spare",

stories/Stepper.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const { meta, getStory } = getStoryFactory({
66
sectionName,
77
"wrappedComponent": { Stepper },
88
"description": `
9-
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/indicateur-d-etape)
9+
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/indicateur-d-etapes)
1010
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Stepper.tsx)`
1111
});
1212

stories/Summary.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ const { meta, getStory } = getStoryFactory({
66
sectionName,
77
"wrappedComponent": { Summary },
88
"description": `
9-
- [See DSFR documentation](//www.systeme-de-design.gouv.fr/elements-d-interface/composants/sommaire)
10-
- [See source code](//github.com/codegouvfr/react-dsfr/blob/main/src/Summary.tsx)`,
9+
- [See DSFR documentation](https://www.systeme-de-design.gouv.fr/elements-d-interface/composants/sommaire)
10+
- [See source code](https://github.com/codegouvfr/react-dsfr/blob/main/src/Summary.tsx)`,
1111
"disabledProps": ["lang"]
1212
});
1313

0 commit comments

Comments
 (0)