feat(build): incremental org→html export with style.css sentinel
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 27 Jun 2026 10:50:43 +0000 (13:50 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 27 Jun 2026 10:50:43 +0000 (13:50 +0300)
commitf1187e62af3d5270f805da8b835549b89dfad7c1
treeaf1912b62648b9c5f28b7d99efc0101b2a778c36
parent7c86455b9d6ed6ee1c13505cde6e55e11ebe9b5b
feat(build): incremental org→html export with style.css sentinel

Re-run of the publish script now skips .org files whose sha256 matches

the cached value in a new .org-export-state file at the repo root,

making re-runs effectively instantaneous when only one or two pages

have changed.

style.css gets a separate "shared sentinel" entry. If it has changed

since the last publish, every .org file is re-exported automatically

— the common case of editing CSS no longer requires remembering

--force.

Pass --force (or --rebuild) to ignore the cache and rebuild

everything. AGENTS.org stays excluded from exports.

Also adds a "Build cache (incremental export)" subsection to

AGENTS.org documenting the new behavior, and gitignores the state

file.
.gitignore
AGENTS.org
Tools/Update web site