From 5208c70e530870c5c4b2bf50e5d8e4a7255303a0 Mon Sep 17 00:00:00 2001 From: HiDeoo Date: Mon, 1 Apr 2024 15:00:26 +0200 Subject: [i18nIgnore] docs: update `starlight-links-validator` to version `0.7.1` (#1696) Co-authored-by: Chris Swithinbank --- docs/package.json | 2 +- docs/src/content/docs/de/guides/authoring-content.md | 4 ++-- docs/src/content/docs/de/reference/overrides.md | 10 +++++----- docs/src/content/docs/es/guides/authoring-content.md | 4 ++-- docs/src/content/docs/es/reference/overrides.md | 10 +++++----- docs/src/content/docs/es/reference/plugins.md | 4 ++-- docs/src/content/docs/fr/guides/authoring-content.md | 4 ++-- docs/src/content/docs/fr/reference/overrides.md | 10 +++++----- docs/src/content/docs/fr/reference/plugins.md | 4 ++-- docs/src/content/docs/guides/authoring-content.md | 4 ++-- docs/src/content/docs/id/guides/authoring-content.md | 4 ++-- docs/src/content/docs/it/guides/authoring-content.md | 4 ++-- docs/src/content/docs/it/reference/overrides.md | 10 +++++----- docs/src/content/docs/it/reference/plugins.md | 4 ++-- docs/src/content/docs/ja/guides/authoring-content.md | 4 ++-- docs/src/content/docs/ja/reference/overrides.md | 10 +++++----- docs/src/content/docs/ja/reference/plugins.md | 2 +- docs/src/content/docs/ko/guides/authoring-content.md | 8 ++++---- docs/src/content/docs/ko/guides/customization.mdx | 2 +- docs/src/content/docs/ko/reference/overrides.md | 10 +++++----- docs/src/content/docs/ko/reference/plugins.md | 4 ++-- docs/src/content/docs/pt-br/getting-started.mdx | 2 +- docs/src/content/docs/pt-br/guides/authoring-content.md | 6 +++--- docs/src/content/docs/pt-br/reference/overrides.md | 10 +++++----- docs/src/content/docs/pt-pt/getting-started.mdx | 2 +- docs/src/content/docs/reference/overrides.md | 10 +++++----- docs/src/content/docs/reference/plugins.md | 4 ++-- docs/src/content/docs/ru/guides/authoring-content.md | 4 ++-- docs/src/content/docs/ru/reference/plugins.md | 4 ++-- docs/src/content/docs/tr/guides/authoring-content.md | 4 ++-- docs/src/content/docs/zh-cn/guides/authoring-content.md | 4 ++-- docs/src/content/docs/zh-cn/reference/overrides.md | 4 ++-- docs/src/content/docs/zh-cn/reference/plugins.md | 4 ++-- pnpm-lock.yaml | 8 ++++---- 34 files changed, 92 insertions(+), 92 deletions(-) diff --git a/docs/package.json b/docs/package.json index e3ee6871..4fb44099 100644 --- a/docs/package.json +++ b/docs/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "pa11y-ci": "^3.0.1", - "starlight-links-validator": "^0.5.3", + "starlight-links-validator": "^0.7.1", "start-server-and-test": "^2.0.0" } } diff --git a/docs/src/content/docs/de/guides/authoring-content.md b/docs/src/content/docs/de/guides/authoring-content.md index f9b5617d..62607a71 100644 --- a/docs/src/content/docs/de/guides/authoring-content.md +++ b/docs/src/content/docs/de/guides/authoring-content.md @@ -147,7 +147,7 @@ Deine Benutzer können dank hilfreicher Starlight-Funktionen produktiver sein un - Übersichtliche Navigation - Benutzer-konfigurierbares Farbthema -- [i18n-Unterstützung](/de/guides/i18n) +- [i18n-Unterstützung](/de/guides/i18n/) ::: @@ -161,7 +161,7 @@ Deine Benutzer können dank hilfreicher Starlight-Funktionen produktiver sein un - Übersichtliche Navigation - Benutzer-konfigurierbares Farbthema -- [i18n-Unterstützung](/de/guides/i18n) +- [i18n-Unterstützung](/de/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/de/reference/overrides.md b/docs/src/content/docs/de/reference/overrides.md index 40cd92e1..bc4daef0 100644 --- a/docs/src/content/docs/de/reference/overrides.md +++ b/docs/src/content/docs/de/reference/overrides.md @@ -5,7 +5,7 @@ tableOfContents: maxHeadingLevel: 4 --- -Du kannst Starlight's eingebaute Komponenten überschreiben, indem du Pfade zu Ersatzkomponenten in Starlight's [`components`](/de/reference/configuration#components)-Konfigurationsoption angibst. +Du kannst Starlight's eingebaute Komponenten überschreiben, indem du Pfade zu Ersatzkomponenten in Starlight's [`components`](/de/reference/configuration/#components)-Konfigurationsoption angibst. Diese Seite listet alle Komponenten auf, die überschrieben werden können, und verweist auf ihre Standardimplementierungen auf GitHub. Erfahre mehr in der [Anleitung zum Überschreiben von Komponenten](/de/guides/overriding-components/). @@ -151,7 +151,7 @@ Diese Komponente wird innerhalb des `` einer jeden Seite gerendert. Enthält wichtige Tags wie ``, und `<meta charset="utf-8">`. Überschreibe diese Komponente nur, wenn es unbedingt notwendig ist. -Bevorzuge die [`head`](/de/reference/configuration#head) Option der Starlight-Konfiguration wenn möglich. +Bevorzuge die [`head`](/de/reference/configuration/#head) Option der Starlight-Konfiguration wenn möglich. #### `ThemeProvider` @@ -232,7 +232,7 @@ Die Standardimplementierung enthält die Schaltfläche in der Kopfzeile und den **Standardkomponente:** [`SocialIcons.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro) Diese Komponente wird in der Kopfzeile der Website gerendert und enthält Links zu sozialen Symbolen. -Die Standardimplementierung verwendet die Option [`social`](/de/reference/configuration#social) in der Starlight-Konfiguration, um Icons und Links darzustellen. +Die Standardimplementierung verwendet die Option [`social`](/de/reference/configuration/#social) in der Starlight-Konfiguration, um Icons und Links darzustellen. #### `ThemeSelect` @@ -305,7 +305,7 @@ Folgende Komponenten werden in der Hauptspalte des Seiteninhalts wiedergegeben. **Standardkomponente:** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) Diese Bannerkomponente wird oben auf jeder Seite angezeigt. -Die Standard-Implementierung verwendet den [`banner`](/de/reference/frontmatter#banner)-Frontmatter-Wert der Seite, um zu entscheiden, ob sie gerendert wird oder nicht. +Die Standard-Implementierung verwendet den [`banner`](/de/reference/frontmatter/#banner)-Frontmatter-Wert der Seite, um zu entscheiden, ob sie gerendert wird oder nicht. #### `ContentPanel` @@ -332,7 +332,7 @@ Wird nur auf mehrsprachigen Seiten verwendet. **Standardkomponente:** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -Diese Komponente wird am oberen Rand der Seite angezeigt, wenn [`hero`](/de/reference/frontmatter#hero) in frontmatter eingestellt ist. +Diese Komponente wird am oberen Rand der Seite angezeigt, wenn [`hero`](/de/reference/frontmatter/#hero) in frontmatter eingestellt ist. Die Standardimplementierung zeigt einen großen Titel, eine Tagline und Call-to-Action-Links neben einem optionalen Bild. #### `MarkdownContent` diff --git a/docs/src/content/docs/es/guides/authoring-content.md b/docs/src/content/docs/es/guides/authoring-content.md index a901fbc1..ce45ab30 100644 --- a/docs/src/content/docs/es/guides/authoring-content.md +++ b/docs/src/content/docs/es/guides/authoring-content.md @@ -164,7 +164,7 @@ Tus usuarios pueden ser más productivos y encontrar más fácil de usar tu prod - Navegación clara - Tema de color configurable por el usuario -- [Soporte de i18n](/es/guides/i18n) +- [Soporte de i18n](/es/guides/i18n/) ::: @@ -178,7 +178,7 @@ Tus usuarios pueden ser más productivos y encontrar más fácil de usar tu prod - Navegación clara - Tema de color configurable por el usuario -- [Soporte de i18n](/es/guides/i18n) +- [Soporte de i18n](/es/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/es/reference/overrides.md b/docs/src/content/docs/es/reference/overrides.md index 9297b201..4f036c37 100644 --- a/docs/src/content/docs/es/reference/overrides.md +++ b/docs/src/content/docs/es/reference/overrides.md @@ -5,7 +5,7 @@ tableOfContents: maxHeadingLevel: 4 --- -Puedes reemplazar los componentes integrados de Starlight proporcionando rutas a los componentes en la opción de configuración [`components`](/es/reference/configuration#components) de Starlight. +Puedes reemplazar los componentes integrados de Starlight proporcionando rutas a los componentes en la opción de configuración [`components`](/es/reference/configuration/#components) de Starlight. Esta página enumera todos los componentes disponibles para reemplazar y enlaces a sus implementaciones predeterminadas en GitHub. @@ -159,7 +159,7 @@ Componente renderizado dentro del elemento `<head>` de cada página. Incluye etiquetas importantes como `<title>` y `<meta charset="utf-8">`. Reemplaza este componente como último recurso. -Si es posible, prefiere la opción [`head`](/es/reference/configuration#head) de la configuración de Starlight si es posible. +Si es posible, prefiere la opción [`head`](/es/reference/configuration/#head) de la configuración de Starlight si es posible. #### `ThemeProvider` @@ -242,7 +242,7 @@ Cuando [`pagefind`](/es/reference/configuration/#pagefind) está deshabilitado, **Componente por defecto:** [`SocialIcons.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro) Componente renderizado en el encabezado del sitio que incluye enlaces de iconos sociales. -La implementación predeterminada utiliza la opción [`social`](/es/reference/configuration#social) en la configuración de Starlight para renderizar iconos y enlaces. +La implementación predeterminada utiliza la opción [`social`](/es/reference/configuration/#social) en la configuración de Starlight para renderizar iconos y enlaces. #### `ThemeSelect` @@ -315,7 +315,7 @@ Estos componentes se renderizan en la columna principal del contenido de la pág **Componente por defecto:** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) Componente Banner renderizado en la parte superior de cada página. -La implementación predeterminada usa el valor de frontmatter [`banner`](/es/reference/frontmatter#banner) de la página para decidir si renderizar o no. +La implementación predeterminada usa el valor de frontmatter [`banner`](/es/reference/frontmatter/#banner) de la página para decidir si renderizar o no. #### `ContentPanel` @@ -343,7 +343,7 @@ Solo se usa en sitios multilingües. **Componente por defecto:** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -Componente renderizado en la parte superior de la página cuando [`hero`](/es/reference/frontmatter#hero) está establecido en frontmatter. +Componente renderizado en la parte superior de la página cuando [`hero`](/es/reference/frontmatter/#hero) está establecido en frontmatter. La implementación predeterminada muestra un título grande, un lema y enlaces de llamada a la acción junto con una imagen opcional. #### `MarkdownContent` diff --git a/docs/src/content/docs/es/reference/plugins.md b/docs/src/content/docs/es/reference/plugins.md index 3b3e7e4b..a513a241 100644 --- a/docs/src/content/docs/es/reference/plugins.md +++ b/docs/src/content/docs/es/reference/plugins.md @@ -54,14 +54,14 @@ Este hook es llamado con las siguientes opciones: **tipo:** `StarlightUserConfig` -Una copia de lectura de la [configuración de Starlight](/es/reference/configuration) proporcionada por el usuario. +Una copia de lectura de la [configuración de Starlight](/es/reference/configuration/) proporcionada por el usuario. Esta configuración puede haber sido actualizada por otros plugins configurados antes del actual. #### `updateConfig` **tipo:** `(newConfig: StarlightUserConfig) => void` -Una función callback para actualizar la [configuración de Starlight](/es/reference/configuration). +Una función callback para actualizar la [configuración de Starlight](/es/reference/configuration/). Proporciona las claves de configuración de nivel raíz que deseas sobreescribir. Para actualizar los valores de configuración anidados, debes proporcionar el objeto anidado completo. diff --git a/docs/src/content/docs/fr/guides/authoring-content.md b/docs/src/content/docs/fr/guides/authoring-content.md index 31a31c3c..bb9577c6 100644 --- a/docs/src/content/docs/fr/guides/authoring-content.md +++ b/docs/src/content/docs/fr/guides/authoring-content.md @@ -164,7 +164,7 @@ Vos utilisateurs peuvent être plus productifs et trouver votre produit plus fac - Navigation claire - Thème de couleurs configurable par l'utilisateur -- [Support i18n](/fr/guides/i18n) +- [Support i18n](/fr/guides/i18n/) ::: @@ -178,7 +178,7 @@ Vos utilisateurs peuvent être plus productifs et trouver votre produit plus fac - Navigation claire - Thème de couleurs configurable par l'utilisateur -- [Support i18n](/fr/guides/i18n) +- [Support i18n](/fr/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/fr/reference/overrides.md b/docs/src/content/docs/fr/reference/overrides.md index 349166cb..1f821b7f 100644 --- a/docs/src/content/docs/fr/reference/overrides.md +++ b/docs/src/content/docs/fr/reference/overrides.md @@ -5,7 +5,7 @@ tableOfContents: maxHeadingLevel: 4 --- -Vous pouvez redéfinir les composants intégrés à Starlight en spécifiant des chemins vers des composants de remplacement avec l'option de configuration [`components`](/fr/reference/configuration#components) de Starlight. +Vous pouvez redéfinir les composants intégrés à Starlight en spécifiant des chemins vers des composants de remplacement avec l'option de configuration [`components`](/fr/reference/configuration/#components) de Starlight. Cette page répertorie tous les composants disponibles qui peuvent être redéfinis et fournit des liens vers leurs implémentations par défaut sur GitHub. Pour en savoir plus, consultez le [guide des redéfinitions de composants](/fr/guides/overriding-components/). @@ -158,7 +158,7 @@ Composant utilisé à l'intérieur de l'élément `<head>` de chaque page. Inclut des balises importantes comme `<title>` et `<meta charset="utf-8">`. Redéfinissez ce composant en dernier recours. -Préférez l'option [`head`](/fr/reference/configuration#head) de la configuration de Starlight si possible. +Préférez l'option [`head`](/fr/reference/configuration/#head) de la configuration de Starlight si possible. #### `ThemeProvider` @@ -243,7 +243,7 @@ Cela vous permet d'ajouter une interface de recherche alternative lorsque vous d **Composant par défaut :** [`SocialIcons.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro) Composant utilisé dans l'en-tête du site qui inclut des liens avec des icônes vers différents médias sociaux. -L'implémentation par défaut utilise l'option [`social`](/fr/reference/configuration#social) de la configuration de Starlight pour afficher les icônes et les liens. +L'implémentation par défaut utilise l'option [`social`](/fr/reference/configuration/#social) de la configuration de Starlight pour afficher les icônes et les liens. #### `ThemeSelect` @@ -316,7 +316,7 @@ Ces composants sont utilisés dans la colonne principale de contenu de la page. **Composant par défaut :** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) Composant représentant une bannière affichée en haut de chaque page. -L'implémentation par défaut utilise la valeur du champ [`banner`](/fr/reference/frontmatter#banner) du frontmatter de la page pour décider de l'affichage ou non. +L'implémentation par défaut utilise la valeur du champ [`banner`](/fr/reference/frontmatter/#banner) du frontmatter de la page pour décider de l'affichage ou non. #### `ContentPanel` @@ -343,7 +343,7 @@ Utilisé uniquement sur les sites multilingues. **Composant par défaut :** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -Composant affiché en haut de la page lorsque le champ [`hero`](/fr/reference/frontmatter#hero) est défini dans le frontmatter. +Composant affiché en haut de la page lorsque le champ [`hero`](/fr/reference/frontmatter/#hero) est défini dans le frontmatter. L'implémentation par défaut affiche un large titre, une accroche et des liens d'appel à l'action à côté d'une image facultative. #### `MarkdownContent` diff --git a/docs/src/content/docs/fr/reference/plugins.md b/docs/src/content/docs/fr/reference/plugins.md index 2da79792..3adf2cb3 100644 --- a/docs/src/content/docs/fr/reference/plugins.md +++ b/docs/src/content/docs/fr/reference/plugins.md @@ -53,14 +53,14 @@ Ce hook est appelé avec les options suivantes : **Type :** `StarlightUserConfig` -Une copie en lecture seule de la [configuration de Starlight](/fr/reference/configuration) fournie par l'utilisateur. +Une copie en lecture seule de la [configuration de Starlight](/fr/reference/configuration/) fournie par l'utilisateur. Cette configuration peut avoir été mise à jour par d'autres modules d'extension configurés avant celui en cours. #### `updateConfig` **Type :** `(newConfig: StarlightUserConfig) => void` -Une fonction de rappel pour mettre à jour la [configuration de Starlight](/fr/reference/configuration) fournie par l'utilisateur. +Une fonction de rappel pour mettre à jour la [configuration de Starlight](/fr/reference/configuration/) fournie par l'utilisateur. Spécifiez les clés de configuration de niveau racine que vous souhaitez remplacer. Pour mettre à jour des valeurs de configuration imbriquées, vous devez fournir l'objet imbriqué entier. diff --git a/docs/src/content/docs/guides/authoring-content.md b/docs/src/content/docs/guides/authoring-content.md index 9d7c81f7..4db1a916 100644 --- a/docs/src/content/docs/guides/authoring-content.md +++ b/docs/src/content/docs/guides/authoring-content.md @@ -165,7 +165,7 @@ Your users may be more productive and find your product easier to use thanks to - Clear navigation - User-configurable colour theme -- [i18n support](/guides/i18n) +- [i18n support](/guides/i18n/) ::: @@ -179,7 +179,7 @@ Your users may be more productive and find your product easier to use thanks to - Clear navigation - User-configurable colour theme -- [i18n support](/guides/i18n) +- [i18n support](/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/id/guides/authoring-content.md b/docs/src/content/docs/id/guides/authoring-content.md index e15153ff..45a83901 100644 --- a/docs/src/content/docs/id/guides/authoring-content.md +++ b/docs/src/content/docs/id/guides/authoring-content.md @@ -147,7 +147,7 @@ Pengguna Anda mungkin lebih produktif dan menemukan produk Anda lebih mudah digu - Navigasi yang jelas - Tema warna yang dapat dikonfigurasi oleh pengguna -- [Dukungan i18n](/id/guides/i18n) +- [Dukungan i18n](/id/guides/i18n/) ::: @@ -161,7 +161,7 @@ Pengguna Anda mungkin lebih produktif dan menemukan produk Anda lebih mudah digu - Navigasi yang jelas - Tema warna yang dapat dikonfigurasi oleh pengguna -- [Dukungan i18n](/id/guides/i18n) +- [Dukungan i18n](/id/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/it/guides/authoring-content.md b/docs/src/content/docs/it/guides/authoring-content.md index 01000285..7cfb7461 100644 --- a/docs/src/content/docs/it/guides/authoring-content.md +++ b/docs/src/content/docs/it/guides/authoring-content.md @@ -165,7 +165,7 @@ Gli utenti potrebbero essere più produttivi e trovare il tuo prodotto più faci - Navigazione chiara - Temi configurabili dall'utente -- [Supporto per i18n](/it/guides/i18n) +- [Supporto per i18n](/it/guides/i18n/) ::: @@ -179,7 +179,7 @@ Gli utenti potrebbero essere più produttivi e trovare il tuo prodotto più faci - Navigazione chiara - Temi configurabili dall'utente -- [Supporto per i18n](/it/guides/i18n) +- [Supporto per i18n](/it/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/it/reference/overrides.md b/docs/src/content/docs/it/reference/overrides.md index 43b90f09..69cfc277 100644 --- a/docs/src/content/docs/it/reference/overrides.md +++ b/docs/src/content/docs/it/reference/overrides.md @@ -5,7 +5,7 @@ tableOfContents: maxHeadingLevel: 4 --- -Puoi sovrascrivere i componenti integrati di Starlight fornendo percorsi ai componenti sostitutivi nell'opzione di configurazione [`components`](/it/reference/configuration#components) di Starlight. +Puoi sovrascrivere i componenti integrati di Starlight fornendo percorsi ai componenti sostitutivi nell'opzione di configurazione [`components`](/it/reference/configuration/#components) di Starlight. Questa pagina elenca tutti i componenti disponibili per l'override e si collega alle loro implementazioni predefinite su GitHub. Scopri di più nella [Guida alla sostituzione dei componenti](/it/guides/overriding-components/). @@ -158,7 +158,7 @@ Componente renderizzato all'interno di `<head>` di ogni pagina. Include tag importanti tra cui `<title>` e `<meta charset="utf-8">`. Sostituisci questo componente come ultima risorsa. -Se possibile, preferisci l'opzione di configurazione [`head`](/it/reference/configuration#head) di Starlight. +Se possibile, preferisci l'opzione di configurazione [`head`](/it/reference/configuration/#head) di Starlight. #### `ThemeProvider` @@ -243,7 +243,7 @@ Ciò consente di aggiungere un'interfaccia utente per i provider di ricerca alte **Componente standard:** [`SocialIcons.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro) Componente renderizzato nell'intestazione del sito, inclusi i collegamenti alle icone social. -L'implementazione predefinita utilizza l'opzione [`social`](/it/reference/configuration#social) nella configurazione di Starlight per eseguire il rendering di icone e collegamenti. +L'implementazione predefinita utilizza l'opzione [`social`](/it/reference/configuration/#social) nella configurazione di Starlight per eseguire il rendering di icone e collegamenti. #### `ThemeSelect` @@ -316,7 +316,7 @@ Questi componenti vengono visualizzati nella colonna principale del contenuto de **Componente standard:** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) Componente banner renderizzato nella parte superiore di ogni pagina. -L'implementazione predefinita utilizza il valore frontmatter [`banner`](/it/reference/frontmatter#banner) della pagina per decidere se renderizzare o meno. +L'implementazione predefinita utilizza il valore frontmatter [`banner`](/it/reference/frontmatter/#banner) della pagina per decidere se renderizzare o meno. #### `ContentPanel` @@ -343,7 +343,7 @@ Utilizzato solo su siti multilingue. **Componente standard:** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -Componente renderizzato nella parte superiore della pagina quando [`hero`](/it/reference/frontmatter#hero) è impostato in frontmatter. +Componente renderizzato nella parte superiore della pagina quando [`hero`](/it/reference/frontmatter/#hero) è impostato in frontmatter. L'implementazione predefinita mostra un titolo di grandi dimensioni, uno slogan e collegamenti di invito all'azione insieme a un'immagine facoltativa. #### `MarkdownContent` diff --git a/docs/src/content/docs/it/reference/plugins.md b/docs/src/content/docs/it/reference/plugins.md index 0eb27fdc..40b0d671 100644 --- a/docs/src/content/docs/it/reference/plugins.md +++ b/docs/src/content/docs/it/reference/plugins.md @@ -53,14 +53,14 @@ Questo hook viene chiamato con le seguenti opzioni: **tipo:** `StarlightUserConfig` -Una copia di sola lettura della [configurazione Starlight](/it/reference/configuration) fornita all'utente. +Una copia di sola lettura della [configurazione Starlight](/it/reference/configuration/) fornita all'utente. Questa configurazione potrebbe essere stata aggiornata da altri plugin configurati prima di quello corrente. #### `updateConfig` **tipo:** `(newConfig: StarlightUserConfig) => void` -Una funzione di callback per aggiornare la [configurazione Starlight](/it/reference/configuration) fornita all'utente. +Una funzione di callback per aggiornare la [configurazione Starlight](/it/reference/configuration/) fornita all'utente. Fornisci le chiavi di configurazione di livello root che vuoi sovrascrivere. Per aggiornare valori di configurazione annidati, devi fornire l'intero oggetto annidato. diff --git a/docs/src/content/docs/ja/guides/authoring-content.md b/docs/src/content/docs/ja/guides/authoring-content.md index c05d609a..b55fa1a4 100644 --- a/docs/src/content/docs/ja/guides/authoring-content.md +++ b/docs/src/content/docs/ja/guides/authoring-content.md @@ -162,7 +162,7 @@ Starlightの便利な機能のおかげで、ユーザーはより生産的に - わかりやすいナビゲーション - ユーザーが設定可能なカラーテーマ -- [国際化機能](/ja/guides/i18n) +- [国際化機能](/ja/guides/i18n/) ::: @@ -176,7 +176,7 @@ Starlightの便利な機能のおかげで、ユーザーはより生産的に - わかりやすいナビゲーション - ユーザーが設定可能なカラーテーマ -- [国際化機能](/ja/guides/i18n) +- [国際化機能](/ja/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/ja/reference/overrides.md b/docs/src/content/docs/ja/reference/overrides.md index 37dae8e0..17399998 100644 --- a/docs/src/content/docs/ja/reference/overrides.md +++ b/docs/src/content/docs/ja/reference/overrides.md @@ -5,7 +5,7 @@ tableOfContents: maxHeadingLevel: 4 --- -Starlightの[`components`](/ja/reference/configuration#components)設定オプションに置き換え対象のコンポーネントへのパスを指定することで、Starlightの組み込みコンポーネントをオーバーライドできます。このページでは、オーバーライド可能なすべてのコンポーネントと、GitHub上にあるコンポーネントのデフォルト実装へのリンクの一覧を記載しています。 +Starlightの[`components`](/ja/reference/configuration/#components)設定オプションに置き換え対象のコンポーネントへのパスを指定することで、Starlightの組み込みコンポーネントをオーバーライドできます。このページでは、オーバーライド可能なすべてのコンポーネントと、GitHub上にあるコンポーネントのデフォルト実装へのリンクの一覧を記載しています。 [コンポーネントのオーバーライドガイド](/ja/guides/overriding-components/)も参照してください。 @@ -151,7 +151,7 @@ entry: { 各ページの`<head>`内にレンダリングされるコンポーネント。`<title>`や`<meta charset="utf-8">`などの重要なタグが含まれます。 -このコンポーネントをオーバーライドするのは最後の手段としてください。可能な限り、Starlightの設定オプション[`head`](/ja/reference/configuration#head)を使用してください。 +このコンポーネントをオーバーライドするのは最後の手段としてください。可能な限り、Starlightの設定オプション[`head`](/ja/reference/configuration/#head)を使用してください。 #### `ThemeProvider` @@ -223,7 +223,7 @@ Starlightの検索UIをレンダリングするために使用されるコンポ **デフォルトコンポーネント:** [`SocialIcons.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro) -ソーシャルアイコンへのリンクを含む、サイトヘッダーにレンダリングされるコンポーネント。デフォルトの実装では、Starlightの設定の[`social`](/ja/reference/configuration#social)オプションを使用して、アイコンとリンクをレンダリングします。 +ソーシャルアイコンへのリンクを含む、サイトヘッダーにレンダリングされるコンポーネント。デフォルトの実装では、Starlightの設定の[`social`](/ja/reference/configuration/#social)オプションを使用して、アイコンとリンクをレンダリングします。 #### `ThemeSelect` @@ -289,7 +289,7 @@ Starlightのページサイドバーは、現在のページの見出しを列 **デフォルトコンポーネント:** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) -各ページの上部にレンダリングされるバナーコンポーネント。デフォルトの実装では、ページの[`banner`](/ja/reference/frontmatter#banner)フロントマターの値を使用して、レンダリングするかどうかを決定します。 +各ページの上部にレンダリングされるバナーコンポーネント。デフォルトの実装では、ページの[`banner`](/ja/reference/frontmatter/#banner)フロントマターの値を使用して、レンダリングするかどうかを決定します。 #### `ContentPanel` @@ -315,7 +315,7 @@ Starlightのページサイドバーは、現在のページの見出しを列 **デフォルトコンポーネント:** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -フロントマターで[`hero`](/ja/reference/frontmatter#hero)が設定されている場合に、ページの上部にレンダリングされるコンポーネント。デフォルトの実装では、大きなタイトル、タグライン、コールトゥアクション(call-to-action)リンク、オプションの画像を表示します。 +フロントマターで[`hero`](/ja/reference/frontmatter/#hero)が設定されている場合に、ページの上部にレンダリングされるコンポーネント。デフォルトの実装では、大きなタイトル、タグライン、コールトゥアクション(call-to-action)リンク、オプションの画像を表示します。 #### `MarkdownContent` diff --git a/docs/src/content/docs/ja/reference/plugins.md b/docs/src/content/docs/ja/reference/plugins.md index 9e6a1c49..79716ab8 100644 --- a/docs/src/content/docs/ja/reference/plugins.md +++ b/docs/src/content/docs/ja/reference/plugins.md @@ -50,7 +50,7 @@ interface StarlightPlugin { **type:** `StarlightUserConfig` -ユーザーが提供した[Starlightの設定](/ja/reference/configuration)の、読み取り専用の複製です。この設定は、現在のプラグインより前に置かれた他のプラグインによって更新されている可能性があります。 +ユーザーが提供した[Starlightの設定](/ja/reference/configuration/)の、読み取り専用の複製です。この設定は、現在のプラグインより前に置かれた他のプラグインによって更新されている可能性があります。 #### `updateConfig` diff --git a/docs/src/content/docs/ko/guides/authoring-content.md b/docs/src/content/docs/ko/guides/authoring-content.md index e3c7211c..67b67a30 100644 --- a/docs/src/content/docs/ko/guides/authoring-content.md +++ b/docs/src/content/docs/ko/guides/authoring-content.md @@ -31,10 +31,10 @@ title: 페이지 제목 텍스트는 **굵게**, _기울임꼴_ 또는 ~~취소선~~으로 표시할 수 있습니다. ``` -[다른 페이지로 링크](/ko/getting-started)할 수 있습니다. +[다른 페이지로 링크](/ko/getting-started/)할 수 있습니다. ```md -[다른 페이지로 링크](/ko/getting-started)할 수 있습니다. +[다른 페이지로 링크](/ko/getting-started/)할 수 있습니다. ``` 백틱을 사용하여 `인라인 코드`를 강조 표시할 수 있습니다. @@ -166,7 +166,7 @@ Starlight의 유용한 기능 덕분에 사용자의 생산성이 향상되고 - 쉬운 탐색 - 사용자 구성 가능한 색상 테마 -- [i18n 지원](/ko/guides/i18n) +- [i18n 지원](/ko/guides/i18n/) ::: @@ -180,7 +180,7 @@ Starlight의 유용한 기능 덕분에 사용자의 생산성이 향상되고 - 쉬운 탐색 - 사용자 구성 가능한 색상 테마 -- [i18n 지원](/ko/guides/i18n) +- [i18n 지원](/ko/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/ko/guides/customization.mdx b/docs/src/content/docs/ko/guides/customization.mdx index 897e97ba..2778adae 100644 --- a/docs/src/content/docs/ko/guides/customization.mdx +++ b/docs/src/content/docs/ko/guides/customization.mdx @@ -108,7 +108,7 @@ export default defineConfig({ 기본적으로 Starlight 페이지는 전역 탐색 사이드바와 현재 페이지 제목의 목차가 포함된 레이아웃을 사용합니다. -프론트매터에 [`template: splash`](/ko/reference/frontmatter/#template)를 설정하여 사이드바 없이 더 넓은 페이지 레이아웃을 적용할 수 있습니다. 주로 랜딩 페이지에서 사용되며, [이 사이트의 홈페이지](/ko)에서 실제로 작동하는 것을 확인할 수 있습니다. +프론트매터에 [`template: splash`](/ko/reference/frontmatter/#template)를 설정하여 사이드바 없이 더 넓은 페이지 레이아웃을 적용할 수 있습니다. 주로 랜딩 페이지에서 사용되며, [이 사이트의 홈페이지](/ko/)에서 실제로 작동하는 것을 확인할 수 있습니다. ```md {5} --- diff --git a/docs/src/content/docs/ko/reference/overrides.md b/docs/src/content/docs/ko/reference/overrides.md index 5a5e55d8..8d882f22 100644 --- a/docs/src/content/docs/ko/reference/overrides.md +++ b/docs/src/content/docs/ko/reference/overrides.md @@ -5,7 +5,7 @@ tableOfContents: maxHeadingLevel: 4 --- -Starlight의 [`components`](/ko/reference/configuration#components) 구성 옵션에 대체 컴포넌트에 대한 경로를 제공하여 Starlight의 내장 컴포넌트를 재정의할 수 있습니다. +Starlight의 [`components`](/ko/reference/configuration/#components) 구성 옵션에 대체 컴포넌트에 대한 경로를 제공하여 Starlight의 내장 컴포넌트를 재정의할 수 있습니다. 이 페이지에는 재정의할 수 있는 모든 컴포넌트와 기본 구현에 대한 Github 링크가 나열되어 있습니다. [컴포넌트 재정의 가이드](/ko/guides/overriding-components/)에서 자세히 알아보세요. @@ -158,7 +158,7 @@ Starlight의 구성 옵션을 준수하는 콘텐츠 목차 컴포넌트를 생 `<title>`, `<meta charset="utf-8">`를 포함하여 중요한 태그들이 포함합니다. 최후의 수단으로 이 컴포넌트를 재정의합니다. -가능하면 Starlight 구성의 [`head`](/ko/reference/configuration#head) 옵션을 사용하는 것이 좋습니다. +가능하면 Starlight 구성의 [`head`](/ko/reference/configuration/#head) 옵션을 사용하는 것이 좋습니다. #### `ThemeProvider` @@ -241,7 +241,7 @@ Starlight의 검색 UI를 렌더링하기 위해 사용되는 컴포넌트입니 **기본 컴포넌트:** [`SocialIcons.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro) 사이트 헤더에 렌더링되며 소셜 아이콘 링크를 포함하는 컴포넌트입니다. -기본적으로 아이콘과 링크를 렌더링하기 위해 Starlight 구성에서 [`social`](/ko/reference/configuration#social) 옵션을 사용합니다. +기본적으로 아이콘과 링크를 렌더링하기 위해 Starlight 구성에서 [`social`](/ko/reference/configuration/#social) 옵션을 사용합니다. #### `ThemeSelect` @@ -314,7 +314,7 @@ Starlight의 페이지 사이드바는 현재 페이지의 하위 제목을 간 **기본 컴포넌트:** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) 각 페이지 상단에 렌더링되는 배너 컴포넌트입니다. -기본적으로 페이지의 [`banner`](/ko/reference/frontmatter#banner) 프론트매터 속성을 사용하여 렌더링 여부를 결정합니다. +기본적으로 페이지의 [`banner`](/ko/reference/frontmatter/#banner) 프론트매터 속성을 사용하여 렌더링 여부를 결정합니다. #### `ContentPanel` @@ -340,7 +340,7 @@ Starlight의 페이지 사이드바는 현재 페이지의 하위 제목을 간 **기본 컴포넌트:** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -프론트매터에서 [`hero`](/ko/reference/frontmatter#hero)를 설정했을 때, 페이지 상단에 렌더링되는 컴포넌트입니다. +프론트매터에서 [`hero`](/ko/reference/frontmatter/#hero)를 설정했을 때, 페이지 상단에 렌더링되는 컴포넌트입니다. 기본적으로 큰 제목, 태그라인, 클릭 유도 문구 링크와 선택적 이미지를 표시합니다. #### `MarkdownContent` diff --git a/docs/src/content/docs/ko/reference/plugins.md b/docs/src/content/docs/ko/reference/plugins.md index 0387b1d5..2fab7a72 100644 --- a/docs/src/content/docs/ko/reference/plugins.md +++ b/docs/src/content/docs/ko/reference/plugins.md @@ -53,14 +53,14 @@ Starlight가 초기화될 때 호출되는 플러그인 설정 함수입니다 ( **타입:** `StarlightUserConfig` -사용자 제공 [Starlight 구성](/ko/reference/configuration)의 읽기 전용 복사본입니다. +사용자 제공 [Starlight 구성](/ko/reference/configuration/)의 읽기 전용 복사본입니다. 이 구성은 현재 플러그인 이전에 구성된 다른 플러그인에 의해 업데이트되었을 수 있습니다. #### `updateConfig` **타입:** `(newConfig: StarlightUserConfig) => void` -사용자가 제공한 [Starlight 구성](/ko/reference/configuration)을 업데이트하는 콜백 함수입니다. +사용자가 제공한 [Starlight 구성](/ko/reference/configuration/)을 업데이트하는 콜백 함수입니다. 재정의하려는 루트 수준 구성 키를 제공합니다. 중첩된 구성 값을 업데이트하려면 전체 중첩 객체를 제공해야 합니다. diff --git a/docs/src/content/docs/pt-br/getting-started.mdx b/docs/src/content/docs/pt-br/getting-started.mdx index 4228a635..8bc9813a 100644 --- a/docs/src/content/docs/pt-br/getting-started.mdx +++ b/docs/src/content/docs/pt-br/getting-started.mdx @@ -7,7 +7,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; Starlight é um tema de documentação cheio de funcionalidades construído em cima do framework [Astro](https://astro.build). Esse guia o ajudará a iniciar um novo projeto. -Consulte as [instruções de instalação manual](/pt-br/manual-setup) para adicionar Starlight a um projeto Astro existente. +Consulte as [instruções de instalação manual](/pt-br/manual-setup/) para adicionar Starlight a um projeto Astro existente. ## Início Rápido diff --git a/docs/src/content/docs/pt-br/guides/authoring-content.md b/docs/src/content/docs/pt-br/guides/authoring-content.md index 1652d742..aa8a2349 100644 --- a/docs/src/content/docs/pt-br/guides/authoring-content.md +++ b/docs/src/content/docs/pt-br/guides/authoring-content.md @@ -22,7 +22,7 @@ Conteúdo da página vem depois do segundo `---`. ``` Toda página deve incluir ao menos o `title` (título). -Veja a [referência do frontmatter](/pt-br/reference/frontmatter) para todos os campos disponíveis e como adicionar campos customizados. +Veja a [referência do frontmatter](/pt-br/reference/frontmatter/) para todos os campos disponíveis e como adicionar campos customizados. ## Estilos Inline @@ -166,7 +166,7 @@ Seus usuários podem ser mais produtivos e considerar seu produto mais fácil de - Navegação compreensível - Tema de cores configurável pelo usuário -- [Suporte a internacionalização](/pt-br/guides/i18n) +- [Suporte a internacionalização](/pt-br/guides/i18n/) ::: @@ -180,7 +180,7 @@ Seus usuários podem ser mais produtivos e considerar seu produto mais fácil de - Navegação compreensível - Tema de cores configurável pelo usuário -- [Suporte a internacionalização](/pt-br/guides/i18n) +- [Suporte a internacionalização](/pt-br/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/pt-br/reference/overrides.md b/docs/src/content/docs/pt-br/reference/overrides.md index a23d76bd..9f794791 100644 --- a/docs/src/content/docs/pt-br/reference/overrides.md +++ b/docs/src/content/docs/pt-br/reference/overrides.md @@ -5,7 +5,7 @@ tableOfContents: maxHeadingLevel: 4 --- -Você pode substituir os componentes padrões do Starlight fornecendo o caminho do componente a ser substituido no campo [`components`](/pt-br/reference/configuration#components) nas configurações do Starlight. +Você pode substituir os componentes padrões do Starlight fornecendo o caminho do componente a ser substituido no campo [`components`](/pt-br/reference/configuration/#components) nas configurações do Starlight. Esta página lista todos os componentes disponíveis para substituição e links do GitHub para a implementação padrão. Leia mais em [Guia de Substituição](/pt-br/guides/overriding-components/). @@ -158,7 +158,7 @@ Componente renderizado dentro do `<head>` de cada página. Contém tags importantes como `<title>`, e `<meta charset="utf-8">`. Substitua esse componente em último caso. -Se possível, dê preferência as opções [`head`](/pt-br/reference/configuration#head) de configuração do Starlight. +Se possível, dê preferência as opções [`head`](/pt-br/reference/configuration/#head) de configuração do Starlight. #### `ThemeProvider` @@ -243,7 +243,7 @@ Isso lhe permite adicionar UI para provedores de busca alternativos ao desabilit **Componente padrão:** [`SocialIcons.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro) Componente renderizado no cabeçalho da página, incluindo links das mídias sociais. -A implementação padrão utiliza a opção [`social`](/pt-br/reference/configuration#social) nas configurações do Starlight para renderizar os links e ícones. +A implementação padrão utiliza a opção [`social`](/pt-br/reference/configuration/#social) nas configurações do Starlight para renderizar os links e ícones. #### `ThemeSelect` @@ -316,7 +316,7 @@ Componentes renderizados na coluna central da página. **Componente padrão:** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) Componente banner renderizado no início de cada página. -A implementação padrão utiliza o valor do frontmatter [`banner`](/pt-br/reference/frontmatter#banner) para decidir se renderiza o banner ou não. +A implementação padrão utiliza o valor do frontmatter [`banner`](/pt-br/reference/frontmatter/#banner) para decidir se renderiza o banner ou não. #### `ContentPanel` @@ -343,7 +343,7 @@ Apenas utilizado em site multilíngue. **Componente padrão:** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -Componente renderizado no início da página quando [`hero`](/pt-br/reference/frontmatter#hero) tiver configurado no frontmatter. +Componente renderizado no início da página quando [`hero`](/pt-br/reference/frontmatter/#hero) tiver configurado no frontmatter. A implementação padrão exibe um título grande, tagline, links de chamada de ação, e opcionalmente, uma imagem junto. #### `MarkdownContent` diff --git a/docs/src/content/docs/pt-pt/getting-started.mdx b/docs/src/content/docs/pt-pt/getting-started.mdx index 830fcab5..ea98820c 100644 --- a/docs/src/content/docs/pt-pt/getting-started.mdx +++ b/docs/src/content/docs/pt-pt/getting-started.mdx @@ -7,7 +7,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; O Starlight é um tema de documentação cheio de funcionalidades construído em cima do framework [Astro](https://astro.build). Este guia irá ajudá-lo a começar um novo projeto. -Consulte as [instruções de instalação manual](/pt-pt/manual-setup) para adicionar o Starlight a um projeto Astro já existente. +Consulte as [instruções de instalação manual](/pt-pt/manual-setup/) para adicionar o Starlight a um projeto Astro já existente. ## Início Rápido diff --git a/docs/src/content/docs/reference/overrides.md b/docs/src/content/docs/reference/overrides.md index fd4bc5d4..3d9e4a86 100644 --- a/docs/src/content/docs/reference/overrides.md +++ b/docs/src/content/docs/reference/overrides.md @@ -5,7 +5,7 @@ tableOfContents: maxHeadingLevel: 4 --- -You can override Starlight’s built-in components by providing paths to replacement components in Starlight’s [`components`](/reference/configuration#components) configuration option. +You can override Starlight’s built-in components by providing paths to replacement components in Starlight’s [`components`](/reference/configuration/#components) configuration option. This page lists all components available to override and links to their default implementations on GitHub. Learn more in the [Guide to Overriding Components](/guides/overriding-components/). @@ -158,7 +158,7 @@ Component rendered inside each page’s `<head>`. Includes important tags including `<title>`, and `<meta charset="utf-8">`. Override this component as a last resort. -Prefer the [`head`](/reference/configuration#head) option Starlight config if possible. +Prefer the [`head`](/reference/configuration/#head) option Starlight config if possible. #### `ThemeProvider` @@ -243,7 +243,7 @@ This allows you to add UI for alternative search providers when disabling Pagefi **Default component:** [`SocialIcons.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/SocialIcons.astro) Component rendered in the site header including social icon links. -The default implementation uses the [`social`](/reference/configuration#social) option in Starlight config to render icons and links. +The default implementation uses the [`social`](/reference/configuration/#social) option in Starlight config to render icons and links. #### `ThemeSelect` @@ -316,7 +316,7 @@ These components are rendered in the main column of page content. **Default component:** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) Banner component rendered at the top of each page. -The default implementation uses the page’s [`banner`](/reference/frontmatter#banner) frontmatter value to decide whether or not to render. +The default implementation uses the page’s [`banner`](/reference/frontmatter/#banner) frontmatter value to decide whether or not to render. #### `ContentPanel` @@ -343,7 +343,7 @@ Only used on multilingual sites. **Default component:** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -Component rendered at the top of the page when [`hero`](/reference/frontmatter#hero) is set in frontmatter. +Component rendered at the top of the page when [`hero`](/reference/frontmatter/#hero) is set in frontmatter. The default implementation shows a large title, tagline, and call-to-action links alongside an optional image. #### `MarkdownContent` diff --git a/docs/src/content/docs/reference/plugins.md b/docs/src/content/docs/reference/plugins.md index 1983b0ef..7f44f60b 100644 --- a/docs/src/content/docs/reference/plugins.md +++ b/docs/src/content/docs/reference/plugins.md @@ -53,14 +53,14 @@ This hook is called with the following options: **type:** `StarlightUserConfig` -A read-only copy of the user-supplied [Starlight configuration](/reference/configuration). +A read-only copy of the user-supplied [Starlight configuration](/reference/configuration/). This configuration may have been updated by other plugins configured before the current one. #### `updateConfig` **type:** `(newConfig: StarlightUserConfig) => void` -A callback function to update the user-supplied [Starlight configuration](/reference/configuration). +A callback function to update the user-supplied [Starlight configuration](/reference/configuration/). Provide the root-level configuration keys you want to override. To update nested configuration values, you must provide the entire nested object. diff --git a/docs/src/content/docs/ru/guides/authoring-content.md b/docs/src/content/docs/ru/guides/authoring-content.md index a389ef63..b723c6dd 100644 --- a/docs/src/content/docs/ru/guides/authoring-content.md +++ b/docs/src/content/docs/ru/guides/authoring-content.md @@ -165,7 +165,7 @@ Astro позволяет создавать быстрые сайты с пом - Чёткая навигация - Цветовая тема, настраиваемая пользователем -- [Поддержка i18n](/ru/guides/i18n) +- [Поддержка i18n](/ru/guides/i18n/) ::: @@ -179,7 +179,7 @@ Astro позволяет создавать быстрые сайты с пом - Чёткая навигация - Цветовая тема, настраиваемая пользователем -- [Поддержка i18n](/ru/guides/i18n) +- [Поддержка i18n](/ru/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/ru/reference/plugins.md b/docs/src/content/docs/ru/reference/plugins.md index 4b95c3be..a8a99558 100644 --- a/docs/src/content/docs/ru/reference/plugins.md +++ b/docs/src/content/docs/ru/reference/plugins.md @@ -53,14 +53,14 @@ interface StarlightPlugin { **тип:** `StarlightUserConfig` -Доступная только для чтения копия предоставленной пользователем [конфигурации Starlight](/ru/reference/configuration). +Доступная только для чтения копия предоставленной пользователем [конфигурации Starlight](/ru/reference/configuration/). Эта конфигурация могла быть обновлена другими плагинами, настроенными до текущего. #### `updateConfig` **тип:** `(newConfig: StarlightUserConfig) => void` -Функция обратного вызова для обновления предоставленной пользователем [конфигурации Starlight](/ru/reference/configuration). +Функция обратного вызова для обновления предоставленной пользователем [конфигурации Starlight](/ru/reference/configuration/). Укажите ключи конфигурации корневого уровня, которые вы хотите отменить. Чтобы обновить значения вложенной конфигурации, необходимо предоставить весь вложенный объект. diff --git a/docs/src/content/docs/tr/guides/authoring-content.md b/docs/src/content/docs/tr/guides/authoring-content.md index 618d622c..0363f63c 100644 --- a/docs/src/content/docs/tr/guides/authoring-content.md +++ b/docs/src/content/docs/tr/guides/authoring-content.md @@ -147,7 +147,7 @@ Yardımcı Starlight özellikleri sayesinde kullanıcılarınız daha kolay ür - Yönlendirmeyi temizle - Kullanıcı-yapılandırmalı renk teması -- [i18n desteği](/tr/guides/i18n) +- [i18n desteği](/tr/guides/i18n/) ::: @@ -161,7 +161,7 @@ Yardımcı Starlight özellikleri sayesinde kullanıcılarınız daha kolay ür - Yönlendirmeyi temizle - Kullanıcı-yapılandırmalı renk teması -- [i18n desteği](/tr/guides/i18n) +- [i18n desteği](/tr/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/zh-cn/guides/authoring-content.md b/docs/src/content/docs/zh-cn/guides/authoring-content.md index 0f0d4101..e4b125f4 100644 --- a/docs/src/content/docs/zh-cn/guides/authoring-content.md +++ b/docs/src/content/docs/zh-cn/guides/authoring-content.md @@ -164,7 +164,7 @@ Caution 和 danger 旁白有助于吸引用户注意可能绊倒他们的细节 - 清晰的导航 - 用户可配置的颜色主题 -- [i18n 支持](/zh-cn/guides/i18n) +- [i18n 支持](/zh-cn/guides/i18n/) ::: @@ -178,7 +178,7 @@ Caution 和 danger 旁白有助于吸引用户注意可能绊倒他们的细节 - 清晰的导航 - 用户可配置的颜色主题 -- [i18n 支持](/zh-cn/guides/i18n) +- [i18n 支持](/zh-cn/guides/i18n/) ::: ``` diff --git a/docs/src/content/docs/zh-cn/reference/overrides.md b/docs/src/content/docs/zh-cn/reference/overrides.md index 95e37e4d..4769f656 100644 --- a/docs/src/content/docs/zh-cn/reference/overrides.md +++ b/docs/src/content/docs/zh-cn/reference/overrides.md @@ -316,7 +316,7 @@ Starlight 的页面侧边栏负责显示当前页面的子标题的目录。 **默认组件:** [`Banner.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Banner.astro) 横幅 (Banner) 组件在每个页面的顶部渲染。 -默认实现使用页面的 [`banner`](/zh-cn/reference/frontmatter#banner) frontmatter 值来决定是否渲染。 +默认实现使用页面的 [`banner`](/zh-cn/reference/frontmatter/#banner) frontmatter 值来决定是否渲染。 #### `ContentPanel` @@ -343,7 +343,7 @@ Starlight 的页面侧边栏负责显示当前页面的子标题的目录。 **默认组件:** [`Hero.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Hero.astro) -当设置了 frontmatter 中的 [`hero`](/zh-cn/reference/frontmatter#hero) 时在页面顶部渲染的组件。 +当设置了 frontmatter 中的 [`hero`](/zh-cn/reference/frontmatter/#hero) 时在页面顶部渲染的组件。 默认实现显示了一个大标题、标语、动作链接 (call-to-action links) 和可选的图片。 #### `MarkdownContent` diff --git a/docs/src/content/docs/zh-cn/reference/plugins.md b/docs/src/content/docs/zh-cn/reference/plugins.md index c60c3793..f213b283 100644 --- a/docs/src/content/docs/zh-cn/reference/plugins.md +++ b/docs/src/content/docs/zh-cn/reference/plugins.md @@ -54,14 +54,14 @@ interface StarlightPlugin { **类型:** `StarlightUserConfig` -一个用户提供的 [Starlight 配置](/zh-cn/reference/configuration)的只读副本。 +一个用户提供的 [Starlight 配置](/zh-cn/reference/configuration/)的只读副本。 这个配置可能已经被当前插件之前的其他插件更新过了。 #### `updateConfig` **类型:** `(newConfig: StarlightUserConfig) => void` -一个可以更新用户提供的 [Starlight 配置](/zh-cn/reference/configuration)的回调函数。 +一个可以更新用户提供的 [Starlight 配置](/zh-cn/reference/configuration/)的回调函数。 传入你想要覆盖的根级配置键。 要更新嵌套的配置值,你必须提供整个嵌套对象。 diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0eac07b9..f8cc0119 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -58,8 +58,8 @@ importers: specifier: ^3.0.1 version: 3.0.1 starlight-links-validator: - specifier: ^0.5.3 - version: 0.5.3(@astrojs/starlight@packages+starlight)(astro@4.3.5) + specifier: ^0.7.1 + version: 0.7.1(@astrojs/starlight@packages+starlight)(astro@4.3.5) start-server-and-test: specifier: ^2.0.0 version: 2.0.0 @@ -6396,8 +6396,8 @@ packages: resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} dev: true - /starlight-links-validator@0.5.3(@astrojs/starlight@packages+starlight)(astro@4.3.5): - resolution: {integrity: sha512-v79rwmzjQlEMVL8sZ4dalD/jhFOUvGZ2/f4CvxCySZ9KbEN9nDmgV8zJgfpmTzhbcYQ35wzyUinF4QNxgKVA4g==} + /starlight-links-validator@0.7.1(@astrojs/starlight@packages+starlight)(astro@4.3.5): + resolution: {integrity: sha512-6SYqCGQdiiTMrgCE4d3F/kFae1rYzuVk0QUs9MXqj6w65tZLvd4qieTrN2NdDNMWXyoxzUTR+ehNzajqr7ZUEg==} engines: {node: '>=18.14.1'} peerDependencies: '@astrojs/starlight': '>=0.15.0' -- cgit