summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Fujino2024-11-04 19:16:59 +0900
committerGitHub2024-11-04 11:16:59 +0100
commite5d1f1d8d9908bfdb1edf10972dc3aaeb373a1e4 (patch)
tree661fddddd5c8071725582187c5a177278f4bef4c
parent759c51470ed193495fc410252486db7297561d4d (diff)
downloadIT.starlight-e5d1f1d8d9908bfdb1edf10972dc3aaeb373a1e4.tar.gz
IT.starlight-e5d1f1d8d9908bfdb1edf10972dc3aaeb373a1e4.tar.bz2
IT.starlight-e5d1f1d8d9908bfdb1edf10972dc3aaeb373a1e4.zip
i18n(ja): Update overrides.md (#2567)
Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
-rw-r--r--docs/src/content/docs/ja/reference/overrides.md28
1 files changed, 20 insertions, 8 deletions
diff --git a/docs/src/content/docs/ja/reference/overrides.md b/docs/src/content/docs/ja/reference/overrides.md
index 17399998..39cd6a54 100644
--- a/docs/src/content/docs/ja/reference/overrides.md
+++ b/docs/src/content/docs/ja/reference/overrides.md
@@ -49,6 +49,18 @@ Starlightã¯ã€ä»¥ä¸‹ã®propsをカスタムコンãƒãƒ¼ãƒãƒ³ãƒˆã«æ¸¡ã—ã¾ã™
言語ãŒé…ä¿¡ã•れるベースパス。ルートロケールスラグã®å ´åˆã¯`undefined`ã¨ãªã‚Šã¾ã™ã€‚
+#### `siteTitle`
+
+**Type:** `string`
+
+ã“ã®ãƒšãƒ¼ã‚¸ã®ãƒ­ã‚±ãƒ¼ãƒ«ã®ã‚µã‚¤ãƒˆã‚¿ã‚¤ãƒˆãƒ«ã€‚
+
+#### `siteTitleHref`
+
+**Type:** `string`
+
+サイトタイトルã®`href`属性ã®å€¤ã€‚ãŸã¨ãˆã°`/`ãªã©ã€ãƒ›ãƒ¼ãƒ ãƒšãƒ¼ã‚¸ã¸ã®ãƒªãƒ³ã‚¯ã¨ãªã‚Šã¾ã™ã€‚多言語サイトã®å ´åˆã€ãŸã¨ãˆã°`/en/`ã‚„`/zh-cn/`ãªã©ã€ç¾åœ¨ã®ãƒ­ã‚±ãƒ¼ãƒ«ãŒå«ã¾ã‚Œã¾ã™ã€‚
+
#### `slug`
**Type:** `string`
@@ -87,7 +99,7 @@ entry: {
}
```
-ã“ã®ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã®æ§‹é€ ã«ã¤ã„ã¦ã¯ã€[Astroã®ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã‚¨ãƒ³ãƒˆãƒªãƒ¼åž‹](https://docs.astro.build/ja/reference/api-reference/#collection-entry-type)リファレンスをå‚ç…§ã—ã¦ãã ã•ã„。
+ã“ã®ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆã®æ§‹é€ ã«ã¤ã„ã¦ã¯ã€[Astroã®ã‚³ãƒ¬ã‚¯ã‚·ãƒ§ãƒ³ã‚¨ãƒ³ãƒˆãƒªãƒ¼åž‹](https://docs.astro.build/ja/reference/modules/astro-content/#collectionentry)リファレンスをå‚ç…§ã—ã¦ãã ã•ã„。
#### `sidebar`
@@ -131,12 +143,6 @@ entry: {
ページã®ç·¨é›†è¨­å®šãŒæœ‰åйãªå ´åˆã€ã“ã®ãƒšãƒ¼ã‚¸ã‚’編集å¯èƒ½ãªã‚¢ãƒ‰ãƒ¬ã‚¹ã®`URL`オブジェクト。
-#### `labels`
-
-**Type:** `Record<string, string>`
-
-ç¾åœ¨ã®ãƒšãƒ¼ã‚¸ã®ãƒ­ãƒ¼ã‚«ãƒ©ã‚¤ã‚ºã•れãŸUI文字列をå«ã‚“ã ã‚ªãƒ–ジェクト。利用å¯èƒ½ãªã™ã¹ã¦ã®ã‚­ãƒ¼ã®ä¸€è¦§ã«ã¤ã„ã¦ã¯ã€[「Starlightã®UIを翻訳ã™ã‚‹ã€](/ja/guides/i18n/#starlightã®uiを翻訳ã™ã‚‹)ガイドをå‚ç…§ã—ã¦ãã ã•ã„。
-
---
## コンãƒãƒ¼ãƒãƒ³ãƒˆ
@@ -203,7 +209,7 @@ entry: {
**デフォルトコンãƒãƒ¼ãƒãƒ³ãƒˆ:** [`Header.astro`](https://github.com/withastro/starlight/blob/main/packages/starlight/components/Header.astro)
-ã™ã¹ã¦ã®ãƒšãƒ¼ã‚¸ã®ä¸Šéƒ¨ã«è¡¨ç¤ºã•れるヘッダーコンãƒãƒ¼ãƒãƒ³ãƒˆã€‚デフォルトã®å®Ÿè£…ã§ã¯ã€[`<SiteTitle />`](#sitetitle)ã€[`<Search />`](#search)ã€[`<SocialIcons />`](#socialicons)ã€[`<ThemeSelect />`](#themeselect)ã€[`<LanguageSelect />`](#languageselect)を表示ã—ã¾ã™ã€‚
+ã™ã¹ã¦ã®ãƒšãƒ¼ã‚¸ã®ä¸Šéƒ¨ã«è¡¨ç¤ºã•れるヘッダーコンãƒãƒ¼ãƒãƒ³ãƒˆã€‚デフォルトã®å®Ÿè£…ã§ã¯ã€[`<SiteTitle />`](#sitetitle-1)ã€[`<Search />`](#search)ã€[`<SocialIcons />`](#socialicons)ã€[`<ThemeSelect />`](#themeselect)ã€[`<LanguageSelect />`](#languageselect)を表示ã—ã¾ã™ã€‚
#### `SiteTitle`
@@ -305,6 +311,12 @@ Starlightã®ãƒšãƒ¼ã‚¸ã‚µã‚¤ãƒ‰ãƒãƒ¼ã¯ã€ç¾åœ¨ã®ãƒšãƒ¼ã‚¸ã®è¦‹å‡ºã—を列æŒ
デフォルトã®å®Ÿè£…ã¨åŒæ§˜ã«ã€`<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)