Appendix B: Templates and Tools

This appendix lists the tools of this repository, the one that accompanies Nordvik Region. The tools of Books 1 to 13 are catalogued in Tools; the tools of Book 14 are not yet in it.

Tool Purpose
scripts/toc_definition.py Holds the table of contents and regenerates the index, navigation and chapter list
scripts/check_ledger.py Checks data/ledger.jsonl against the checkouts of the series: every identifier exists in the cited chapter, and every identifier of the series that names Nordvik Region is in the ledger
scripts/build_appendix_a.py Generates Appendix A from data/ledger.jsonl
scripts/format_citations.py Derives citation labels from the bibliography
scripts/renumber_sources.py Keeps the bibliography numbered 1..N without gaps
scripts/check_mermaid_diagrams.py Renders and validates the diagrams
data/extracts/*.md The per-volume extracts of everything the series says about Nordvik Region (the working source of Part III)
data/ledger.jsonl The ledger: one line per identifier, event or figure, with volume, chapter and status
data/credibility/*.md The evidence file of the credibility check (Part V), with URLs and retrieval dates