diff options
author | Junseong Park | 2025-01-14 06:35:56 +0900 |
---|---|---|
committer | GitHub | 2025-01-13 22:35:56 +0100 |
commit | 6ea1753656a7d968b9eeb15202eeab46b13626aa (patch) | |
tree | f40545be3b18818e6fc52df36cd41ef46daad20a | |
parent | 962b9ce83e45ed9d060c3910445f09aeab731c6a (diff) | |
download | IT.starlight-6ea1753656a7d968b9eeb15202eeab46b13626aa.tar.gz IT.starlight-6ea1753656a7d968b9eeb15202eeab46b13626aa.tar.bz2 IT.starlight-6ea1753656a7d968b9eeb15202eeab46b13626aa.zip |
i18n(ko-KR): update `configuration.mdx` (#2799)
-rw-r--r-- | docs/src/content/docs/ko/reference/configuration.mdx | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/docs/src/content/docs/ko/reference/configuration.mdx b/docs/src/content/docs/ko/reference/configuration.mdx index 7e315b1c..288badd1 100644 --- a/docs/src/content/docs/ko/reference/configuration.mdx +++ b/docs/src/content/docs/ko/reference/configuration.mdx @@ -452,16 +452,32 @@ Starlight๋ ๊ธฐ๋ณธ์ ์ผ๋ก Sarah Drasner๊ฐ ์ ์ํ [Night Owl theme](https: ### `pagefind` -**ํ์
:** `boolean` +**ํ์
:** <code>boolean | <a href="#pagefindoptions">PagefindOptions</a></code> **๊ธฐ๋ณธ๊ฐ:** `true` -Starlight์ ๊ธฐ๋ณธ ์ฌ์ดํธ ๊ฒ์ ๊ณต๊ธ์์ธ [Pagefind](https://pagefind.app/)๊ฐ ํ์ฑํ๋์ด ์๋์ง ์ ์ํฉ๋๋ค. +Starlight์ ๊ธฐ๋ณธ ์ฌ์ดํธ ๊ฒ์ ๊ณต๊ธ์์ธ [Pagefind](https://pagefind.app/)๋ฅผ ๊ตฌ์ฑํฉ๋๋ค. Pagefind๋ก ์ฌ์ดํธ ์์ธ์ ์์ฑํ์ง ์์ผ๋ ค๋ฉด `false`๋ก ์ค์ ํ์ธ์. ๋ํ, ์ด๋ ๊ธฐ๋ณธ ๊ฒ์ UI๋ ์จ๊น๋๋ค. [`prerender`](#prerender) ์ต์
์ด `false`๋ก ์ค์ ๋ ๊ฒฝ์ฐ Pagefind๋ฅผ ํ์ฑํํ ์ ์์ต๋๋ค. +`pagefind`๋ฅผ ๊ฐ์ฒด๋ก ์ค์ ํ์ฌ Pagefind ๊ฒ์ ํด๋ผ์ด์ธํธ๋ฅผ ๊ตฌ์ฑํ ์ ์์ต๋๋ค. +Pagefind ๋ฌธ์์ ["Pagefind์ ๊ฒฐ๊ณผ ์์ ์ฌ์ฉ์ ์ ์"](https://pagefind.app/docs/ranking/)์์ `pagefind.ranking` ์ต์
์ ์ฌ์ฉํ์ฌ ๊ฒ์ ๊ฒฐ๊ณผ ์์๊ฐ ๊ณ์ฐ๋๋ ๋ฐฉ์์ ์ ์ดํ๋ ๋ฐฉ๋ฒ์ ๋ํด ์์ธํ ์์๋ณด์ค ์ ์์ต๋๋ค. + +#### `PagefindOptions` + +```ts +interface PagefindOptions { + ranking?: { + pageLength?: number; + termFrequency?: number; + termSaturation?: number; + termSimilarity?: number; + }; +} +``` + ### `prerender` **ํ์
:** `boolean` |