build(docs): chain snippet-shots into release-docs (#381)

The doc-site's build_library.py now embeds a preview PNG per snippet and
fails loudly if snippet-shots/ is empty, so the release documentation pass
must regenerate the screenshots before the site build runs.

Addresses #381.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LTh2ZW7bd3XSd9qK86Z2CE
This commit is contained in:
John McCardle 2026-07-15 21:27:52 -04:00
commit 07149c100c

View file

@ -157,7 +157,7 @@ api-delta:
#
# Deliberately NOT automatic: it does not commit, and it does not touch the
# hand-written pages. It tells you what it found and leaves the judgment to you.
release-docs: docs stamp-snippets
release-docs: docs stamp-snippets snippet-shots
@echo ""
@echo "=== Regenerating the site against this engine (SITE_DIR=$(SITE_DIR)) ==="
@test -d "$(SITE_DIR)" || { echo "SITE_DIR not found: $(SITE_DIR)"; exit 1; }