From ee08d3491b487dea16855eec17bb5e0a2dfecd25 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Tue, 6 Oct 2026 13:40:04 +0900 Subject: Astro 7へ更新し、画像をsrc/へ移行・重複を整理 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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で自動実行) --- patches/@astrojs+starlight+0.42.5.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 patches/@astrojs+starlight+0.42.5.patch (limited to 'patches/@astrojs+starlight+0.42.5.patch') 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": "次へ", -- cgit v1.3.1