diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-06 13:40:04 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-06 13:40:04 +0900 |
| commit | ee08d3491b487dea16855eec17bb5e0a2dfecd25 (patch) | |
| tree | b8cf58139788b67840e661df07fa12a7781d024a /patches | |
| parent | 2089b1b2c7ca65923f3ee70b75adf383723cfe0e (diff) | |
Astro 7へ更新し、画像をsrc/へ移行・重複を整理
- astro 6→7 / starlight 0.40→0.42 / sharp更新、markdown-remark導入
- markdownをunified()へ移行、compressHTML:trueで従来の空白を維持
- starlight日本語訳パッチを0.42.5向けに再生成
- 有益な画像をsrc/へ移行しpublic重複を削除、孤立画像を整理
- scripts/optimize-images.mjs を追加(prebuildで自動実行)
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/@astrojs+starlight+0.40.0.patch | 16 | ||||
| -rw-r--r-- | patches/@astrojs+starlight+0.42.5.patch | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/patches/@astrojs+starlight+0.40.0.patch b/patches/@astrojs+starlight+0.40.0.patch deleted file mode 100644 index 23c945c..0000000 --- a/patches/@astrojs+starlight+0.40.0.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/node_modules/@astrojs/starlight/translations/ja.json b/node_modules/@astrojs/starlight/translations/ja.json -index 2e1fd80..41c4695 100644 ---- a/node_modules/@astrojs/starlight/translations/ja.json -+++ b/node_modules/@astrojs/starlight/translations/ja.json -@@ -12,9 +12,9 @@ - "menuButton.accessibleLabel": "メニュー", - "sidebarNav.accessibleLabel": "メイン", - "tableOfContents.onThisPage": "目次", -- "tableOfContents.overview": "概要", -+ "tableOfContents.overview": "トップへ戻る", - "i18n.untranslatedContent": "このコンテンツはまだ日本語訳がありません。", -- "page.editLink": "ページを編集", -+ "page.editLink": "編集履歴", - "page.lastUpdated": "最終更新日:", - "page.previousLink": "前へ", - "page.nextLink": "次へ", diff --git a/patches/@astrojs+starlight+0.42.5.patch b/patches/@astrojs+starlight+0.42.5.patch new file mode 100644 index 0000000..8d6277a --- /dev/null +++ b/patches/@astrojs+starlight+0.42.5.patch @@ -0,0 +1,16 @@ +diff --git a/node_modules/@astrojs/starlight/dist/translations/ja.js b/node_modules/@astrojs/starlight/dist/translations/ja.js +index 783f9a1..c672054 100644 +--- a/node_modules/@astrojs/starlight/dist/translations/ja.js ++++ b/node_modules/@astrojs/starlight/dist/translations/ja.js +@@ -13,9 +13,9 @@ var ja_default = { + "menuButton.accessibleLabel": "メニュー", + "sidebarNav.accessibleLabel": "メイン", + "tableOfContents.onThisPage": "目次", +- "tableOfContents.overview": "概要", ++ "tableOfContents.overview": "トップへ戻る", + "i18n.untranslatedContent": "このコンテンツはまだ日本語訳がありません。", +- "page.editLink": "ページを編集", ++ "page.editLink": "編集履歴", + "page.lastUpdated": "最終更新日:", + "page.previousLink": "前へ", + "page.nextLink": "次へ", |
