From 11e34cc31040c0a55722247eed5f31df99b93466 Mon Sep 17 00:00:00 2001 From: Junseong Park Date: Wed, 1 May 2024 17:48:39 +0900 Subject: [PATCH 1/4] i18n(ko-KR): update `getting-started.mdx` (#1804) --- docs/src/content/docs/ko/getting-started.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/ko/getting-started.mdx b/docs/src/content/docs/ko/getting-started.mdx index 1a6f9c92e98..69a93162722 100644 --- a/docs/src/content/docs/ko/getting-started.mdx +++ b/docs/src/content/docs/ko/getting-started.mdx @@ -17,7 +17,7 @@ Starlight는 [Astro](https://astro.build) 프레임워크 위에 구축되었으 터미널에서 다음 명령을 실행하여 새 Astro + Starlight 프로젝트를 생성합니다. - + ```sh @@ -54,7 +54,7 @@ yarn create astro --template starlight 프로젝트 디렉터리에서 다음 명령을 실행하여 개발 서버를 시작합니다. - + ```sh @@ -105,7 +105,7 @@ Starlight는 베타 소프트웨어이기 때문에 업데이트와 개선이 Starlight는 Astro 통합입니다. 터미널에서 다음 명령을 실행하여 이 패키지와 다른 Astro 패키지를 업데이트할 수 있습니다. - + ```sh From b0b86cd7abfd913a9638edb596b1b98ebd189b97 Mon Sep 17 00:00:00 2001 From: Junseong Park Date: Wed, 1 May 2024 17:56:36 +0900 Subject: [PATCH 2/4] i18n(ko-KR): update `css-and-tailwind.mdx` (#1806) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- docs/src/content/docs/ko/guides/css-and-tailwind.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/ko/guides/css-and-tailwind.mdx b/docs/src/content/docs/ko/guides/css-and-tailwind.mdx index 89f26ed7f51..7cf43716819 100644 --- a/docs/src/content/docs/ko/guides/css-and-tailwind.mdx +++ b/docs/src/content/docs/ko/guides/css-and-tailwind.mdx @@ -62,7 +62,7 @@ Starlight Tailwind 플러그인은 다음 구성을 적용합니다. `create astro`를 사용하여 Tailwind CSS가 사전 구성된 새 Starlight 프로젝트를 시작하세요. - + ```sh @@ -94,7 +94,7 @@ yarn create astro --template starlight/tailwind 1. Astro의 Tailwind 통합 추가 - + @@ -124,7 +124,7 @@ yarn create astro --template starlight/tailwind 2. Starlight Tailwind 플러그인을 설치하세요. - + From 2d6b45520b31dd8af883cd1232eed63a6c489f3b Mon Sep 17 00:00:00 2001 From: Junseong Park Date: Wed, 1 May 2024 18:03:31 +0900 Subject: [PATCH 3/4] i18n(ko-KR): update `customization.mdx` (#1807) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- docs/src/content/docs/ko/guides/customization.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/content/docs/ko/guides/customization.mdx b/docs/src/content/docs/ko/guides/customization.mdx index 2778adaeb99..37c03eda14d 100644 --- a/docs/src/content/docs/ko/guides/customization.mdx +++ b/docs/src/content/docs/ko/guides/customization.mdx @@ -125,7 +125,7 @@ Starlight는 독자가 원하는 제목으로 쉽게 이동할 수 있도록 각 기본적으로 `

` 및 `

` 제목이 목차에 포함됩니다. [`tableOfContents`](/ko/reference/configuration/#tableofcontents) 의 `minHeadingLevel` 및 `maxHeadingLevel` 옵션을 사용하여 모든 페이지의 목차를 변경할 수 있습니다. 개별 페이지의 기본 목차를 변경하기 위해서는 [프론트매터에 `tableOfContents`](/ko/reference/frontmatter/#tableofcontents) 속성을 추가하세요. - + ```md {4-6} @@ -159,7 +159,7 @@ defineConfig({ `tableOfContents` 옵션의 값을 `false`로 설정하여 모든 페이지의 목차를 비활성화 할 수 있습니다. - + ```md {4} From 9e6367927cf3f42437cbb9f031533f2312f99377 Mon Sep 17 00:00:00 2001 From: Junseong Park Date: Wed, 1 May 2024 18:19:27 +0900 Subject: [PATCH 4/4] i18n(ko-KR): update `components.mdx` (#1805) Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com> --- .../src/content/docs/ko/guides/components.mdx | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/docs/src/content/docs/ko/guides/components.mdx b/docs/src/content/docs/ko/guides/components.mdx index f91d3eee073..9b74fa18792 100644 --- a/docs/src/content/docs/ko/guides/components.mdx +++ b/docs/src/content/docs/ko/guides/components.mdx @@ -87,6 +87,50 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; +#### 동기화된 탭 + +`syncKey` 속성을 추가하여 여러 탭 그룹을 동기화된 상태로 유지합니다. + +동일한 `syncKey` 값을 가진 페이지의 모든 ``에는 동일한 활성 라벨이 표시됩니다. 이를 통해 독자는 한 번 (예: 운영 체제 또는 패키지 관리자) 선택하고 선택 사항이 페이지 전체에 반영되는 것을 볼 수 있습니다. + +관련 탭을 동기화하려면 각 `` 컴포넌트에 동일한 `syncKey` 속성을 추가하고 모두 동일한 `` 라벨을 사용하는지 확인하세요. + +```mdx 'syncKey="별자리"' +# src/content/docs/example.mdx + +import { Tabs, TabItem } from '@astrojs/starlight/components'; + +_별:_ + + + 벨라트릭스, 리겔, 베텔게우스 + 폴룩스, 캐스터 A, 캐스터 B + + +_외계 행성:_ + + + HD 34445 b, 글리제 179 b, Wasp-82 b + 폴룩스 b, HAT-P-24b, HD 50554 b + +``` + +위 코드는 페이지에 다음을 생성합니다. + +_별:_ + + + 벨라트릭스, 리겔, 베텔게우스 + 폴룩스, 캐스터 A, 캐스터 B + + +_외계 행성:_ + + + HD 34445 b, 글리제 179 b, Wasp-82 b + 폴룩스 b, HAT-P-24b, HD 50554 b + + ### 카드 import { Card, CardGrid } from '@astrojs/starlight/components';