mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-13 04:55:51 +00:00
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:
parent
3f3ea4a36c
commit
562c225884
7 changed files with 340 additions and 71 deletions
11
scripts/check-static-html.sh
Normal file
11
scripts/check-static-html.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue