From ffac333d6ea9673622e1a2a49d8a01297a888cd0 Mon Sep 17 00:00:00 2001 From: Julian Wolf Date: Sat, 23 Nov 2024 18:17:46 +0700 Subject: [PATCH 01/14] Clarify how to override default components that use multiple slots. (#2386) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- .../docs/guides/overriding-components.mdx | 17 +++++++++++++++++ docs/src/content/docs/reference/overrides.md | 6 ++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/docs/src/content/docs/guides/overriding-components.mdx b/docs/src/content/docs/guides/overriding-components.mdx index 24b2c8b9643..a3b86778525 100644 --- a/docs/src/content/docs/guides/overriding-components.mdx +++ b/docs/src/content/docs/guides/overriding-components.mdx @@ -86,6 +86,23 @@ When rendering a built-in component inside a custom component: - Spread `Astro.props` into it. This makes sure that it receives all the data it needs to render. - Add a [``](https://docs.astro.build/en/core-concepts/astro-components/#slots) inside the default component. This makes sure that if the component is passed any child elements, Astro knows where to render them. +If you are reusing the [`PageFrame`](/reference/overrides/#pageframe) or [`TwoColumnContent`](/reference/overrides/#twocolumncontent) components which contain [named slots](https://docs.astro.build/en/basics/astro-components/#named-slots), you also need to [transfer](https://docs.astro.build/en/basics/astro-components/#transferring-slots) these slots as well. + +The example below shows a custom component that reuses the `TwoColumnContent` component which contains an additional `right-sidebar` named slot that needs to be transferred: + +```astro {9} +--- +// src/components/CustomContent.astro +import type { Props } from '@astrojs/starlight/props'; +import Default from '@astrojs/starlight/components/TwoColumnContent.astro'; +--- + + + + + +``` + ## Use page data When overriding a Starlight component, your custom implementation receives a standard `Astro.props` object containing all the data for the current page. diff --git a/docs/src/content/docs/reference/overrides.md b/docs/src/content/docs/reference/overrides.md index e8bc56248a5..5f47428d8fd 100644 --- a/docs/src/content/docs/reference/overrides.md +++ b/docs/src/content/docs/reference/overrides.md @@ -195,7 +195,8 @@ When possible, prefer overriding a lower-level component. #### `PageFrame` -**Default component:** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) +**Default component:** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) +**Named slots:** `header`, `sidebar` Layout component wrapped around most of the page content. The default implementation sets up the header–sidebar–main layout and includes `header` and `sidebar` named slots along with a default slot for the main content. @@ -209,7 +210,8 @@ Component rendered inside [``](#pageframe) that is responsible for to #### `TwoColumnContent` -**Default component:** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) +**Default component:** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) +**Named slot:** `right-sidebar` Layout component wrapped around the main content column and right sidebar (table of contents). The default implementation handles the switch between a single-column, small-viewport layout and a two-column, larger-viewport layout. From 5e69540c653967de18e89489cce4f6a51b324fde Mon Sep 17 00:00:00 2001 From: trueberryless <99918022+trueberryless@users.noreply.github.com> Date: Sat, 23 Nov 2024 12:28:18 +0100 Subject: [PATCH 02/14] Add my two new plugins to Starlight `resources/plugins.mdx` page (#2595) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- docs/src/content/docs/resources/plugins.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/src/content/docs/resources/plugins.mdx b/docs/src/content/docs/resources/plugins.mdx index 828046735e8..ef10656b272 100644 --- a/docs/src/content/docs/resources/plugins.mdx +++ b/docs/src/content/docs/resources/plugins.mdx @@ -103,6 +103,16 @@ Extend your site with official plugins supported by the Starlight team and commu title="starlight-sidebar-topics-dropdown" description="Split your docs page into multiple subpages and switch between them with a dropdown menu in the sidebar." /> + + ### Community themes From 2b1425607a47fe23bf778013c87489a03ecedc8d Mon Sep 17 00:00:00 2001 From: Junseong Park <39112954+jsparkdev@users.noreply.github.com> Date: Sat, 23 Nov 2024 21:43:15 +0900 Subject: [PATCH 03/14] i18n(ko-KR): update `plugins.mdx` (#2630) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- docs/src/content/docs/ko/resources/plugins.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/src/content/docs/ko/resources/plugins.mdx b/docs/src/content/docs/ko/resources/plugins.mdx index efa53200570..206772cbde4 100644 --- a/docs/src/content/docs/ko/resources/plugins.mdx +++ b/docs/src/content/docs/ko/resources/plugins.mdx @@ -103,6 +103,16 @@ Starlight 팀이 지원하는 공식 플러그인과 Starlight 사용자가 관 title="starlight-sidebar-topics-dropdown" description="문서 페이지를 여러 개의 하위 페이지로 분할하고 사이드바의 드롭다운 메뉴를 사용하여 하위 페이지 간에 전환할 수 있습니다." /> + + ### 커뮤니티 테마 From 077280f42fbe8f871a4d2931c0e36bd5d744c688 Mon Sep 17 00:00:00 2001 From: Junseong Park <39112954+jsparkdev@users.noreply.github.com> Date: Sat, 23 Nov 2024 21:50:42 +0900 Subject: [PATCH 04/14] i18n(ko-KR): update `overriding-components.mdx` (#2628) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- .../docs/ko/guides/overriding-components.mdx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/src/content/docs/ko/guides/overriding-components.mdx b/docs/src/content/docs/ko/guides/overriding-components.mdx index 49f0d2bfee7..04ef5f9130b 100644 --- a/docs/src/content/docs/ko/guides/overriding-components.mdx +++ b/docs/src/content/docs/ko/guides/overriding-components.mdx @@ -86,6 +86,23 @@ import Default from '@astrojs/starlight/components/SocialIcons.astro'; - 전개 연산자를 사용하여 내장 컴포넌트에 `Astro.props`의 모든 속성을 전달합니다. 이를 통해, 내장 컴포넌트는 렌더링에 필요한 모든 데이터를 전달받습니다. - 기본 컴포넌트 내에 [``](https://docs.astro.build/ko/core-concepts/astro-components/#슬롯)을 추가합니다. 이를 통해, 하위 컴포넌트를 전달받은 경우, Astro가 전달받은 컴포넌트를 렌더링할 위치를 알 수 있습니다. +[명명된 슬롯](https://docs.astro.build/ko/basics/astro-components/#명명된-슬롯)이 포함된 [`PageFrame`](/ko/reference/overrides/#pageframe) 또는 [`TwoColumnContent`](/ko/reference/overrides/#twocolumncontent) 컴포넌트를 재사용하는 경우 이러한 슬롯도 [전송](https://docs.astro.build/ko/basics/astro-components/#슬롯-전송)해야 합니다. + +아래 예시는 `TwoColumnContent` 컴포넌트를 재사용하는 사용자 정의 컴포넌트를 보여줍니다. 이 컴포넌트는 `right-sidebar`라는 이름의 추가 슬롯을 포함하여 전송합니다. + +```astro {9} +--- +// src/components/CustomContent.astro +import type { Props } from '@astrojs/starlight/props'; +import Default from '@astrojs/starlight/components/TwoColumnContent.astro'; +--- + + + + + +``` + ## 페이지 데이터 사용 Starlight 컴포넌트를 재정의할 때, 사용자 정의 구현은 현재 페이지의 모든 데이터가 포함된 표준 `Astro.props` 객체를 전달받습니다. From 64ed441618ff27c68ad5e05d2de0cdfb0d3edffe Mon Sep 17 00:00:00 2001 From: Junseong Park <39112954+jsparkdev@users.noreply.github.com> Date: Sat, 23 Nov 2024 21:57:49 +0900 Subject: [PATCH 05/14] i18n(ko-KR): update `overrides.md` (#2629) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- docs/src/content/docs/ko/reference/overrides.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/content/docs/ko/reference/overrides.md b/docs/src/content/docs/ko/reference/overrides.md index 921d92ad7f1..b441bded340 100644 --- a/docs/src/content/docs/ko/reference/overrides.md +++ b/docs/src/content/docs/ko/reference/overrides.md @@ -195,6 +195,7 @@ Starlight의 구성 옵션을 준수하는 콘텐츠 목차 컴포넌트를 생 #### `PageFrame` **기본 컴포넌트:** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) +**명명된 슬롯:** `header`, `sidebar` 대부분의 페이지 콘텐츠를 감싸는 레이아웃 컴포넌트입니다. 기본적으로 header-sidebar-main 레이아웃을 설정하고 슬롯으로 명명된 `header`와 `sidebar` 및 메인 콘텐츠에 대한 기본 슬롯을 포함합니다. @@ -209,6 +210,7 @@ Starlight의 구성 옵션을 준수하는 콘텐츠 목차 컴포넌트를 생 #### `TwoColumnContent` **기본 컴포넌트:** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) +**명명된 슬롯:** `right-sidebar` 메인 콘텐츠 열과 오른쪽 사이드바 (목차)를 감싸는 레이아웃 컴포넌트입니다. 기본적으로 작은 뷰포트에서 하나의 열로 이루어진 레이아웃과 큰 뷰포트에서 두 개의 열로 이루어진 레이아웃 간 전환을 처리합니다. From 6757a771464ee0311a25cd76de60015131dd6ec8 Mon Sep 17 00:00:00 2001 From: trueberryless <99918022+trueberryless@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:36:40 +0100 Subject: [PATCH 06/14] Update overrides.md (#2632) Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> --- docs/src/content/docs/ko/reference/overrides.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/content/docs/ko/reference/overrides.md b/docs/src/content/docs/ko/reference/overrides.md index b441bded340..f66868b391f 100644 --- a/docs/src/content/docs/ko/reference/overrides.md +++ b/docs/src/content/docs/ko/reference/overrides.md @@ -194,7 +194,7 @@ Starlight의 구성 옵션을 준수하는 콘텐츠 목차 컴포넌트를 생 #### `PageFrame` -**기본 컴포넌트:** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) +**기본 컴포넌트:** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) **명명된 슬롯:** `header`, `sidebar` 대부분의 페이지 콘텐츠를 감싸는 레이아웃 컴포넌트입니다. @@ -209,7 +209,7 @@ Starlight의 구성 옵션을 준수하는 콘텐츠 목차 컴포넌트를 생 #### `TwoColumnContent` -**기본 컴포넌트:** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) +**기본 컴포넌트:** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) **명명된 슬롯:** `right-sidebar` 메인 콘텐츠 열과 오른쪽 사이드바 (목차)를 감싸는 레이아웃 컴포넌트입니다. From 5a5dcae359907a719de73fa0a122c6bd079ef6f5 Mon Sep 17 00:00:00 2001 From: trueberryless <99918022+trueberryless@users.noreply.github.com> Date: Sat, 23 Nov 2024 14:45:19 +0100 Subject: [PATCH 07/14] i18n(de): update `resources/plugins.mdx` (#2624) * Update plugins.mdx * fix spacing * fix spacing again * Update plugins.mdx --------- Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> --- docs/src/content/docs/de/resources/plugins.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/src/content/docs/de/resources/plugins.mdx b/docs/src/content/docs/de/resources/plugins.mdx index 00fa870122a..9f173f61a96 100644 --- a/docs/src/content/docs/de/resources/plugins.mdx +++ b/docs/src/content/docs/de/resources/plugins.mdx @@ -103,6 +103,16 @@ Erweitere deine Seite mit offiziellen Plugins, die vom Starlight-Team unterstüt title="starlight-sidebar-topics-dropdown" description="Teile deine Dokumentseite in mehrere Unterseiten auf und wechsle zwischen ihnen mit einem Dropdown-Menü in der Seitenleiste." /> + + ### Community-Themes From 4ec3aefb9dccc87038ffecd846221b3e65e43725 Mon Sep 17 00:00:00 2001 From: jsparkdev Date: Sat, 23 Nov 2024 13:45:57 +0000 Subject: [PATCH 08/14] [ci] format --- .../src/content/docs/de/resources/plugins.mdx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/src/content/docs/de/resources/plugins.mdx b/docs/src/content/docs/de/resources/plugins.mdx index 9f173f61a96..d1baa956ef5 100644 --- a/docs/src/content/docs/de/resources/plugins.mdx +++ b/docs/src/content/docs/de/resources/plugins.mdx @@ -103,16 +103,16 @@ Erweitere deine Seite mit offiziellen Plugins, die vom Starlight-Team unterstüt title="starlight-sidebar-topics-dropdown" description="Teile deine Dokumentseite in mehrere Unterseiten auf und wechsle zwischen ihnen mit einem Dropdown-Menü in der Seitenleiste." /> - - + + ### Community-Themes From 68255ad548e767efa225e69f918cab87ea5dec89 Mon Sep 17 00:00:00 2001 From: trueberryless <99918022+trueberryless@users.noreply.github.com> Date: Sat, 23 Nov 2024 15:08:39 +0100 Subject: [PATCH 09/14] i18n(de): update `guides/overriding-components.mdx` (#2626) * Update overriding-components.mdx * Update docs/src/content/docs/de/guides/overriding-components.mdx Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> --------- Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> --- .../docs/de/guides/overriding-components.mdx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/src/content/docs/de/guides/overriding-components.mdx b/docs/src/content/docs/de/guides/overriding-components.mdx index b2b0191650e..21b7dc84086 100644 --- a/docs/src/content/docs/de/guides/overriding-components.mdx +++ b/docs/src/content/docs/de/guides/overriding-components.mdx @@ -86,6 +86,23 @@ Beim Rendern einer integrierten Komponente innerhalb einer benutzerdefinierten K - Verbreite `Astro.props` darin. Dadurch wird sichergestellt, dass es alle Daten erhält, die es zum Rendern benötigt. - Füge einen [``](https://docs.astro.build/de/core-concepts/astro-components/#slots) innerhalb der Standardkomponente hinzu. Dadurch wird sichergestellt, dass Astro weiß, wo die Komponente gerendert werden muss, wenn der Komponente untergeordnete Elemente übergeben werden. +Wenn du die Komponenten [`PageFrame`](/de/reference/overrides/#pageframe) oder [`TwoColumnContent`](/de/reference/overrides/#twocolumncontent) wiederverwendst, die [benannte Slots](https://docs.astro.build/de/basics/astro-components/#benannte-slots) enthalten, musst du auch diese Slots [übertragen](https://docs.astro.build/de/basics/astro-components/#slots-weitergeben). + +Das folgende Beispiel zeigt eine benutzerdefinierte Komponente, die die Komponente `TwoColumnContent` wiederverwendet. Diese integrierte Komponente enthält einen zusätzlichen benannten Slot, nämlich `right-sidebar`, welcher übertragen werden muss: + +```astro {9} +--- +// src/components/CustomContent.astro +import type { Props } from '@astrojs/starlight/props'; +import Default from '@astrojs/starlight/components/TwoColumnContent.astro'; +--- + + + + + +``` + ## Seitendaten verwenden Beim Überschreiben einer Starlight-Komponente erhält deine benutzerdefinierte Implementierung ein Standardobjekt `Astro.props`, das alle Daten für die aktuelle Seite enthält. From c76b4860a63a5fcaec39488482e96b806f8dadcf Mon Sep 17 00:00:00 2001 From: trueberryless <99918022+trueberryless@users.noreply.github.com> Date: Sat, 23 Nov 2024 15:15:49 +0100 Subject: [PATCH 10/14] i18n(de): update `reference/overrides.md` (#2625) * Update overrides.md * Update overrides.md * Update overrides.md --------- Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> --- docs/src/content/docs/de/reference/overrides.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/src/content/docs/de/reference/overrides.md b/docs/src/content/docs/de/reference/overrides.md index 1fa9addec62..5c606fab6f0 100644 --- a/docs/src/content/docs/de/reference/overrides.md +++ b/docs/src/content/docs/de/reference/overrides.md @@ -197,7 +197,8 @@ Wenn möglich, bevorzuge das Überschreiben einer Komponente auf einer niedriger #### `PageFrame` -**Standardkomponente:** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) +**Standardkomponente:** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) +**Benannte Slots:** `header`, `sidebar` Diese Layout-Komponente beinhaltet den größten Teil des Seiteninhalts. Die Standardimplementierung konfiguriert das Kopfzeilen-Seitennavigation-Haupt-Layout und beinhaltet `header` und `sidebar` benannte Slots zusammen mit einem Standard-Slot für den Hauptinhalt. @@ -211,7 +212,8 @@ Diese Komponente wird innerhalb von [``](#pageframe) gerendert und is #### `TwoColumnContent` -**Standardkomponente:** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) +**Standardkomponente:** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) +**Benannter Slot:** `right-sidebar` Dies ist die Layout-Komponente, welche die Hauptinhaltsspalte und die rechte Seitenleiste (Inhaltsverzeichnis) beinhaltet. Die Standardimplementierung behandelt den Wechsel zwischen einem einspaltigen Layout mit kleinem Sichtfeld und einem zweispaltigen Layout mit größerem Sichtfeld. From 49a440e3f16619b68135ff419dc9d61be6feeaab Mon Sep 17 00:00:00 2001 From: HiDeoo <494699+HiDeoo@users.noreply.github.com> Date: Sat, 23 Nov 2024 15:25:49 +0100 Subject: [PATCH 11/14] i18n(fr): update `guides/overriding-components` & `reference/overrides` (#2627) Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> --- .../docs/fr/guides/overriding-components.mdx | 17 +++++++++++++++++ docs/src/content/docs/fr/reference/overrides.md | 6 ++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/docs/src/content/docs/fr/guides/overriding-components.mdx b/docs/src/content/docs/fr/guides/overriding-components.mdx index 8ff9168ce73..128eb8e1c44 100644 --- a/docs/src/content/docs/fr/guides/overriding-components.mdx +++ b/docs/src/content/docs/fr/guides/overriding-components.mdx @@ -86,6 +86,23 @@ Lorsque vous affichez un composant intégré dans un composant personnalisé : - Décomposez `Astro.props` dans celui-ci. Cela permet de s'assurer qu'il reçoit toutes les données dont il a besoin pour être affiché. - Ajoutez un élément [``](https://docs.astro.build/fr/core-concepts/astro-components/#les-emplacements-slots) à l'intérieur du composant par défaut. Cela permet de s'assurer que si le composant reçoit des éléments enfants, Astro sait où les afficher. +Si vous réutilisez les composants [`PageFrame`](/fr/reference/overrides/#pageframe) ou [`TwoColumnContent`](/fr/reference/overrides/#twocolumncontent) qui contiennent des [emplacements (slots) nommés](https://docs.astro.build/fr/basics/astro-components/#les-emplacements-slots-nomm%C3%A9s), vous devez également [transférer](https://docs.astro.build/fr/basics/astro-components/#transf%C3%A9rer-les-emplacements) ces emplacements. + +L'exemple ci-dessous montre un composant personnalisé qui réutilise le composant `TwoColumnContent` qui contient un emplacement supplémentaire nommé `right-sidebar` qui doit être transféré : + +```astro {9} +--- +// src/components/CustomContent.astro +import type { Props } from '@astrojs/starlight/props'; +import Default from '@astrojs/starlight/components/TwoColumnContent.astro'; +--- + + + + + +``` + ## Utiliser les données de la page Lorsque vous redéfinissez un composant de Starlight, votre implémentation personnalisée reçoit un objet `Astro.props` standard contenant toutes les données de la page courante. diff --git a/docs/src/content/docs/fr/reference/overrides.md b/docs/src/content/docs/fr/reference/overrides.md index 260c4315867..e914a4fc5b5 100644 --- a/docs/src/content/docs/fr/reference/overrides.md +++ b/docs/src/content/docs/fr/reference/overrides.md @@ -195,7 +195,8 @@ Lorsque cela est possible, préférez redéfinir un composant de plus bas niveau #### `PageFrame` -**Composant par défaut :** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) +**Composant par défaut :** [`PageFrame.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/PageFrame.astro) +**Emplacements (slots) nommés :** `header`, `sidebar` Composant de mise en page contenant la plupart du contenu de la page. L'implémentation par défaut configure la mise en page de l'en-tête, de la barre latérale et du contenu principal et inclut des emplacements (slots) nommés `header` et `sidebar` en plus de l'emplacement par défaut pour le contenu principal. @@ -209,7 +210,8 @@ Composant utilisé à l'intérieur de [``](#pageframe) qui est respon #### `TwoColumnContent` -**Composant par défaut :** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) +**Composant par défaut :** [`TwoColumnContent.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/TwoColumnContent.astro) +**Emplacement (slot) nommé :** `right-sidebar` Composant de mise en page enveloppant le contenu principal de la page et la barre latérale de droite (table des matières). L'implémentation par défaut prend en charge le changement entre une mise en page à une seule colonne pour petits écrans et une mise en page à deux colonnes pour écrans plus larges. From 866661b0088bbe123ff681f587a3923c8c0b6a3c Mon Sep 17 00:00:00 2001 From: HiDeoo <494699+HiDeoo@users.noreply.github.com> Date: Sat, 23 Nov 2024 15:33:02 +0100 Subject: [PATCH 12/14] i18n(fr): update `resources/plugins` (#2631) Co-authored-by: Junseong Park <39112954+jsparkdev@users.noreply.github.com> --- docs/src/content/docs/fr/resources/plugins.mdx | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/fr/resources/plugins.mdx b/docs/src/content/docs/fr/resources/plugins.mdx index 834054f16e4..73bfafb048a 100644 --- a/docs/src/content/docs/fr/resources/plugins.mdx +++ b/docs/src/content/docs/fr/resources/plugins.mdx @@ -91,17 +91,27 @@ Les [modules d'extension](/fr/reference/plugins/) peuvent personnaliser la confi + + From 5adb720afd354d99b3682d045b9dc8729a1ff274 Mon Sep 17 00:00:00 2001 From: HiDeoo <494699+HiDeoo@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:20:36 +0100 Subject: [PATCH 13/14] Fix Safari VoiceOver issue (#2633) * fix: safari voiceover issue * chore: add comment + bug report + pr links * chore: fix comment indentation --- .changeset/strange-icons-explode.md | 5 +++++ packages/starlight/components/SidebarPersister.astro | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .changeset/strange-icons-explode.md diff --git a/.changeset/strange-icons-explode.md b/.changeset/strange-icons-explode.md new file mode 100644 index 00000000000..a061275bb09 --- /dev/null +++ b/.changeset/strange-icons-explode.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes a VoiceOver issue with Safari where the content of a `