diff --git a/docs/src/content/docs/fr/reference/configuration.mdx b/docs/src/content/docs/fr/reference/configuration.mdx index e796cfc4204..6741938b401 100644 --- a/docs/src/content/docs/fr/reference/configuration.mdx +++ b/docs/src/content/docs/fr/reference/configuration.mdx @@ -341,28 +341,21 @@ La locale par défaut sera utilisée pour fournir un contenu de remplacement lor ### `social` -import SocialLinksType from '~/components/social-links-type.astro'; +**Type :** {`Array<{ label: string; icon: `}[StarlightIcon](/fr/reference/icons/){`; href: string }>`} -**Type :** - -Détails optionnels sur les comptes de médias sociaux pour ce site. L'ajout de l'un d'entre eux les affichera sous forme de liens iconiques dans l'en-tête du site. +Détails optionnels sur les comptes de médias sociaux pour ce site. +Chaque entrée sera affichée sous forme de lien iconisé dans l'en-tête du site. ```js starlight({ - social: { - codeberg: 'https://codeberg.org/knut/examples', - discord: 'https://astro.build/chat', - github: 'https://github.com/withastro/starlight', - gitlab: 'https://gitlab.com/delucis', - linkedin: 'https://www.linkedin.com/company/astroinc', - mastodon: 'https://m.webtoo.ls/@astro', - threads: 'https://www.threads.net/@nmoodev', - twitch: 'https://www.twitch.tv/bholmesdev', - twitter: 'https://twitter.com/astrodotbuild', - 'x.com': 'https://x.com/astrodotbuild', - youtube: 'https://youtube.com/@astrodotbuild', - }, -}); + social: [ + { icon: 'codeberg', label: 'Codeberg', href: 'https://codeberg.org/knut' }, + { icon: 'discord', label: 'Discord', href: 'https://astro.build/chat' }, + { icon: 'github', label: 'GitHub', href: 'https://github.com/withastro' }, + { icon: 'gitlab', label: 'GitLab', href: 'https://gitlab.com/delucis' }, + { icon: 'mastodon', label: 'Mastodon', href: 'https://m.webtoo.ls/@astro' }, + ], +}), ``` ### `customCss`