diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/data/updates.json | 14 | ||||
| -rw-r--r-- | src/plugins/updates.ts | 6 |
2 files changed, 20 insertions, 0 deletions
diff --git a/src/data/updates.json b/src/data/updates.json index b5d0d4f..d684a9b 100644 --- a/src/data/updates.json +++ b/src/data/updates.json @@ -264,5 +264,19 @@ "group": "", "date": "2026-09-24", "kind": "new" + }, + { + "title": "請願第8号の審査(令和3年9月14日 生活文教委員会)", + "url": "/iinkai/r3d/2-seigan8/", + "group": "", + "date": "2026-09-24", + "kind": "new" + }, + { + "title": "請願第1号の審査(令和5年8月22日 生活文教委員会)", + "url": "/iinkai/r5d/1-seigan1/", + "group": "", + "date": "2026-09-24", + "kind": "new" } ] diff --git a/src/plugins/updates.ts b/src/plugins/updates.ts index 6078cd1..ac9dc22 100644 --- a/src/plugins/updates.ts +++ b/src/plugins/updates.ts @@ -14,6 +14,11 @@ import { readFileSync, writeFileSync, mkdirSync } from "node:fs"; */ const BULK_FILES = 5; // これを超える数のファイルを変更したコミットは一括修正とみなす +// 更新情報に出さないページ(サイドバー未掲載のため一時的に非表示。公開時に削除する) +const HIDE_FROM_UPDATES = new Set<string>([ + "src/content/docs/kodaira-data/parks.mdx", // こだいら 公園さんぽマップβ(2026-11-11 一時非表示) +]); + type Item = { date: string; title: string; @@ -60,6 +65,7 @@ export default function updatesIntegration() { for (const f of c.files) { if (!f.path.startsWith("src/content/docs/")) continue; if (!f.path.endsWith(".mdx") || f.path.endsWith("/index.mdx")) continue; + if (HIDE_FROM_UPDATES.has(f.path)) continue; if (f.status === "A" && !added.has(f.path)) added.set(f.path, c.date); if (!bulk && !modified.has(f.path)) modified.set(f.path, c.date); } |
