Update build scripts and README: Enhance build command to include static HTML checks and curriculum validation, streamline development process with new dev script, and clarify local development instructions. Update curriculum wiring in catalog to support dynamic subject loading and improve Mermaid map integration.

This commit is contained in:
Hananoshika Yomaru 2026-05-20 22:22:08 -07:00
parent 3f3ea4a36c
commit 562c225884
7 changed files with 340 additions and 71 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
matches="$(find themes/openfreebooks/static -type f -name '*.html' -print)"
if [[ -n "${matches}" ]]; then
echo "Error: stale HTML files found under themes/openfreebooks/static:"
echo "${matches}"
echo "Remove them so Zola output stays source-of-truth in public/."
exit 1
fi