Skip to content

Commit c2e7836

Browse files
i18n(de): update reference/configuration (#3069)
Co-authored-by: Chris Swithinbank <[email protected]>
1 parent 6194d86 commit c2e7836

File tree

1 file changed

+12
-19
lines changed

1 file changed

+12
-19
lines changed

docs/src/content/docs/de/reference/configuration.mdx

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Konfigurations&shy;referenz
2+
title: Konfigurationsreferenz
33
description: Ein Überblick über alle von Starlight unterstützten Konfigurations&shy;optionen.
44
sidebar:
55
label: Konfiguration
@@ -343,28 +343,21 @@ Das standard Locale wird verwendet, um Ersatzinhalte bereitzustellen, wenn Über
343343

344344
### `social`
345345

346-
import SocialLinksType from '~/components/social-links-type.astro';
346+
**Typ:** <code>{`Array<{ label: string; icon: `}[StarlightIcon](/de/reference/icons/){`; href: string }>`}</code>
347347

348-
**Typ:** <SocialLinksType />
349-
350-
Optionale Angaben zu den Social-Media-Konten für diese Website. Wenn du eines dieser Konten hinzufügst, werden sie als Symbol-Links in der Kopfzeile der Website angezeigt.
348+
Optionale Angaben zu den Social-Media-Konten für diese Website.
349+
Jeder Eintrag wird als Symbol-Link in der Kopfzeile der Seite angezeigt.
351350

352351
```js
353352
starlight({
354-
social: {
355-
codeberg: 'https://codeberg.org/knut/examples',
356-
discord: 'https://astro.build/chat',
357-
github: 'https://github.com/withastro/starlight',
358-
gitlab: 'https://gitlab.com/delucis',
359-
linkedin: 'https://www.linkedin.com/company/astroinc',
360-
mastodon: 'https://m.webtoo.ls/@astro',
361-
threads: 'https://www.threads.net/@nmoodev',
362-
twitch: 'https://www.twitch.tv/bholmesdev',
363-
twitter: 'https://twitter.com/astrodotbuild',
364-
'x.com': 'https://x.com/astrodotbuild',
365-
youtube: 'https://youtube.com/@astrodotbuild',
366-
},
367-
});
353+
social: [
354+
{ icon: 'codeberg', label: 'Codeberg', href: 'https://codeberg.org/knut' },
355+
{ icon: 'discord', label: 'Discord', href: 'https://astro.build/chat' },
356+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro' },
357+
{ icon: 'gitlab', label: 'GitLab', href: 'https://gitlab.com/delucis' },
358+
{ icon: 'mastodon', label: 'Mastodon', href: 'https://m.webtoo.ls/@astro' },
359+
],
360+
}),
368361
```
369362

370363
### `customCss`

0 commit comments

Comments
 (0)