Commit Graph
4 Commits
Author SHA1 Message Date
octoturge 3078230258 Merge pull request 'chore: bump version to 1.3.20' (#2) from chore/release-1.3.20 into main
Reviewed-on: #2
2026-08-23 10:33:18 +02:00
octoturgeandClaude Sonnet 5 7fe6205f34 chore: bump version to 1.3.20
Version bump from the packaging pipeline after publishing v1.3.20.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-23 10:12:00 +02:00
octoturge 509ec5454e Merge pull request 'Rebuild split-rulebook journal parsing (vault sync 2026-08-18 to 08-23)' (#1) from foundry-sync-2026-08-23 into main
Reviewed-on: #1
2026-08-23 10:00:56 +02:00
octoturgeandClaude Sonnet 5 7dd2af1ec5 Rebuild split-rulebook journal parsing (vault sync 2026-08-18 to 08-23)
The bab5a62 vault commit split 9 rulebook monoliths into hub/ToC pages plus
per-topic-file subfolders (rules/NN. <Book>/<Chapter>/<Topic>.md). The
existing chapter-slicing parser (parseJournalBook) relied on finding a
duplicate TOC-vs-body heading pair per chapter; after the split each hub
heading only occurs once (in the ToC), so it was silently treating the
ToC's link-list body as if it were real chapter content.

Added parseSplitBookFolder (journal-parser.ts): walks a book's split
subfolder directly, one JournalDoc per Rozdzial/Aneks subfolder-or-file,
one JournalPage per topic file (or a single page for a standalone chapter
file). The hub's own Wstep intro paragraph is unaffected by the split (it's
still real prose, not a link) and continues to come from the existing
prefaceTitle preface-extraction logic.

Wired into build-journal-packs.ts for the 6 affected packs: core-rules-lore,
bestiary-lore, magic-book-lore, abyss, blood-magic-history, economy.
crimson-cult's rules source was never split into a subfolder, so it's left
on the old code path unchanged.

Also fixed a pre-existing derivePageTitle bug (page titles kept a leading
markdown heading marker, e.g. "## Wstep" instead of "Wstep") to match the
already-correct behavior in topical-parser.ts.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-23 01:15:51 +02:00