Skip to content

Commit

Permalink
i18n(ko-KR): update sidebar.mdx (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsparkdev committed Nov 2, 2023
1 parent 42ae288 commit a6baf0e
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion docs/src/content/docs/ko/guides/sidebar.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ sidebar:

## 배지

링크 라벨 옆에 배지를 표시하기 위해 링크에는 `badge` 속성이 포함될 수도 있습니다.
링크, 그룹, 자동 생성된 그룹은 라벨 옆에 배지를 표시하기 위해 `badge` 속성을 포함할 수도 있습니다.

```js
starlight({
Expand All @@ -252,6 +252,12 @@ starlight({
},
],
},
// "Deprecated" 배지가 포함된 자동 생성된 그룹
{
label: '참조',
badge: 'Deprecated',
autogenerate: { directory: 'reference' },
},
],
});
```
Expand All @@ -270,6 +276,24 @@ starlight({
},
],
},
{
label: '참조',
badge: { text: 'Deprecated', variant: 'default' },
items: [
{
label: '구성 참조',
link: '/reference/configuration/',
},
{
label: '프론트매터 참조',
link: '/reference/frontmatter/',
},
{
label: '재정의 참조',
link: '/reference/overrides/',
},
],
},
]}
/>

Expand Down

0 comments on commit a6baf0e

Please sign in to comment.