Build the aptitude-course manifest¶
Regenerate and validate manifest.json after editing course content in
Geoffe-Ga/aptitude-course. Verified against the repo state of 2026-07-31.
Prerequisites¶
- Python 3.x
pip install -r scripts/requirements.txtfrom the repo root
Steps¶
-
Edit content under
markdown/<NN>-<stage>/following the dialect and frontmatter rules inCONTENT_FORMAT.md(CommonMark, no raw HTML). -
Rebuild the manifest — never edit
manifest.jsonby hand:
python scripts/build_manifest.py
The build validates against schema/manifest.schema.json.
- Check internal links:
python scripts/check_links.py
Verify¶
manifest.jsondiff shows your chapters with correctid,order,release_day, andpathfields, and theschema_versionyou expect.- Both scripts exit 0.
- Remember the consumption contract (ADR 0011): the app reads only the manifest, the bodies it references, and their assets — if your change isn't reachable from the manifest, the app will never see it.