Skip to content

Commit

Permalink
i18n(ko-KR): update pages.mdx, frontmatter.md, overrides.md (#1809
Browse files Browse the repository at this point in the history
)

Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
  • Loading branch information
jsparkdev and HiDeoo committed May 1, 2024
1 parent d3b867f commit e3d62b5
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/src/content/docs/ko/guides/pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ Markdown ํŽ˜์ด์ง€์˜ ํ”„๋ก ํŠธ๋งคํ„ฐ์™€ ์œ ์‚ฌํ•˜๊ฒŒ ์ด ํŽ˜์ด์ง€์— ๋Œ€ํ•œ [
- [`slug`](/ko/reference/frontmatter/#slug) ์†์„ฑ์€ ์ง€์›๋˜์ง€ ์•Š์œผ๋ฉฐ ์‚ฌ์šฉ์ž ์ •์˜ ํŽ˜์ด์ง€์˜ URL์„ ๊ธฐ๋ฐ˜์œผ๋กœ ์ž๋™ ์„ค์ •๋ฉ๋‹ˆ๋‹ค.
- [`editUrl`](/ko/reference/frontmatter/#editurl) ์˜ต์…˜์—๋Š” ํŽธ์ง‘ ๋งํฌ๋ฅผ ํ‘œ์‹œํ•˜๊ธฐ ์œ„ํ•œ URL์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.
- [์ž๋™ ์ƒ์„ฑ๋œ ๋งํฌ ๊ทธ๋ฃน](/ko/reference/configuration/#sidebar)์—์„œ ํŽ˜์ด์ง€๊ฐ€ ํ‘œ์‹œ๋˜๋Š” ๋ฐฉ์‹์„ ์‚ฌ์šฉ์ž ์ •์˜ํ•˜๊ธฐ ์œ„ํ•œ [`sidebar`](/ko/reference/frontmatter/#sidebar) ํ”„๋ก ํŠธ๋งคํ„ฐ ์†์„ฑ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. `<StarlightPage />` ์ปดํฌ๋„ŒํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ํŽ˜์ด์ง€๋Š” ์ปฌ๋ ‰์…˜์˜ ์ผ๋ถ€๊ฐ€ ์•„๋‹ˆ๋ฉฐ ์ž๋™ ์ƒ์„ฑ๋œ ์‚ฌ์ด๋“œ๋ฐ” ๊ทธ๋ฃน์— ์ถ”๊ฐ€๋  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
- [`draft`](/ko/reference/frontmatter/#draft) ์˜ต์…˜์€ ํŽ˜์ด์ง€๊ฐ€ ์ดˆ์•ˆ์ด๋ผ๋Š” [์•Œ๋ฆผ](/ko/reference/overrides/#draftcontentnotice)๋งŒ ํ‘œ์‹œํ•  ๋ฟ ํ”„๋กœ๋•์…˜ ๋นŒ๋“œ์—์„œ ์ž๋™์œผ๋กœ ์ œ์™ธํ•˜์ง€๋Š” ์•Š์Šต๋‹ˆ๋‹ค.

##### `sidebar`

Expand Down
15 changes: 15 additions & 0 deletions docs/src/content/docs/ko/reference/frontmatter.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,21 @@ pagefind: false
---
```

### `draft`

**ํƒ€์ž…:** `boolean`
**๊ธฐ๋ณธ๊ฐ’:** `false`

์ด ํŽ˜์ด์ง€๋ฅผ ์ดˆ์•ˆ์œผ๋กœ ๊ฐ„์ฃผํ•˜์—ฌ [ํ”„๋กœ๋•์…˜ ๋นŒ๋“œ](https://docs.astro.build/ko/reference/cli-reference/#astro-build) ๋ฐ [์ž๋™ ์ƒ์„ฑ๋œ ๋งํฌ ๊ทธ๋ฃน](/ko/guides/sidebar/#์ž๋™-์ƒ์„ฑ-๊ทธ๋ฃน)์— ํฌํ•จํ•˜์ง€ ์•Š์„์ง€ ์—ฌ๋ถ€๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. ํŽ˜์ด์ง€๋ฅผ ์ดˆ์•ˆ์œผ๋กœ ํ‘œ์‹œํ•˜๊ณ  ๊ฐœ๋ฐœ ์ค‘์—๋งŒ ํ‘œ์‹œํ•˜๋ ค๋ฉด `true`๋กœ ์„ค์ •ํ•˜์„ธ์š”.

```md
---
# src/content/docs/example.md
# ํ”„๋กœ๋•์…˜ ๋นŒ๋“œ์—์„œ ์ด ํŽ˜์ด์ง€ ์ œ์™ธ
draft: true
---
```

### `sidebar`

**ํƒ€์ž…:** [`SidebarConfig`](#sidebarconfig)
Expand Down
14 changes: 13 additions & 1 deletion docs/src/content/docs/ko/reference/overrides.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ Starlight๋Š” ์‚ฌ์šฉ์ž ์ •์˜ ์ปดํฌ๋„ŒํŠธ์— ๋‹ค์Œ ์†์„ฑ๋“ค์„ ์ „๋‹ฌํ•ฉ๋‹ˆ

์–ธ์–ด๊ฐ€ ์ œ๊ณต๋˜๋Š” ๊ธฐ๋ณธ ๊ฒฝ๋กœ์ž…๋‹ˆ๋‹ค. ๋ฃจํŠธ ๋กœ์ผ€์ผ ์Šฌ๋Ÿฌ๊ทธ์˜ ๊ฒฝ์šฐ `undefined`์ž…๋‹ˆ๋‹ค.

#### `siteTitle`

**ํƒ€์ž…:** `string`

์ด ํŽ˜์ด์ง€์˜ ๋กœ์ผ€์ผ์— ๋Œ€ํ•œ ์‚ฌ์ดํŠธ ์ œ๋ชฉ์ž…๋‹ˆ๋‹ค.

#### `slug`

**ํƒ€์ž…:** `string`
Expand Down Expand Up @@ -217,7 +223,7 @@ Starlight์˜ ์ƒ๋‹จ ํƒ์ƒ‰ ๋ฐ”๋ฅผ ๋ Œ๋”๋งํ•˜๋Š” ์ปดํฌ๋„ŒํŠธ์ž…๋‹ˆ๋‹ค.
**๊ธฐ๋ณธ ์ปดํฌ๋„ŒํŠธ:** [`Header.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Header.astro)

Header ์ปดํฌ๋„ŒํŠธ๋Š” ๋ชจ๋“  ํŽ˜์ด์ง€ ์ƒ๋‹จ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.
๊ธฐ๋ณธ์ ์œผ๋กœ [`<SiteTitle />`](#sitetitle), [`<Search />`](#search), [`<SocialIcons />`](#socialicons), [`<ThemeSelect />`](#themeselect), ์™€ [`<LanguageSelect />`](#languageselect)๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
๊ธฐ๋ณธ์ ์œผ๋กœ [`<SiteTitle />`](#sitetitle-1), [`<Search />`](#search), [`<SocialIcons />`](#socialicons), [`<ThemeSelect />`](#themeselect), ์™€ [`<LanguageSelect />`](#languageselect)๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.

#### `SiteTitle`

Expand Down Expand Up @@ -329,6 +335,12 @@ Starlight์˜ ํŽ˜์ด์ง€ ์‚ฌ์ด๋“œ๋ฐ”๋Š” ํ˜„์žฌ ํŽ˜์ด์ง€์˜ ํ•˜์œ„ ์ œ๋ชฉ์„ ๊ฐ„
ํ˜„์žฌ ํŽ˜์ด์ง€์˜ `<h1>` ์š”์†Œ๋ฅผ ํฌํ•จํ•˜๋Š” ์ปดํฌ๋„ŒํŠธ์ž…๋‹ˆ๋‹ค.
๊ธฐ๋ณธ ๊ตฌํ˜„๊ณผ ๊ฐ™์ด `<h1>` ์š”์†Œ์— `id="_top"`์„ ์„ค์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

#### `DraftContentNotice`

**๊ธฐ๋ณธ ์ปดํฌ๋„ŒํŠธ:** [`DraftContentNotice.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/DraftContentNotice.astro)

ํ˜„์žฌ ํŽ˜์ด์ง€๊ฐ€ ์ดˆ์•ˆ์œผ๋กœ ํ‘œ์‹œ๋˜๋ฉด ๊ฐœ๋ฐœ ์ค‘์— ์‚ฌ์šฉ์ž์—๊ฒŒ ํ‘œ์‹œ๋˜๋Š” ์•Œ๋ฆผ์ž…๋‹ˆ๋‹ค.

#### `FallbackContentNotice`

**๊ธฐ๋ณธ ์ปดํฌ๋„ŒํŠธ:** [`FallbackContentNotice.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/FallbackContentNotice.astro)
Expand Down

0 comments on commit e3d62b5

Please sign in to comment.