Website: reproduction gallery, component reference, and records¶
Pull request #14 · 2026-12-02 · docs
Plan¶
Build the GitHub Pages site planned in docs/architecture.md at the owner's request, and link it from the README. The owner added the site workflow and enabled Pages (#13), since workflow files and repository settings are theirs.
Decisions¶
- MkDocs Material, as TenCirPauli uses, with mkdocstrings for the component reference and a small script for the gallery filters.
- One MkDocs hook,
scripts/website.py, generates every page during the build frommeta.yaml,taxonomy.yaml, the reproduction folders,tencirlab/, anddocs/; nothing generated is committed (decision 0002). Relative links in repository documents point to site pages or to GitHub, and a link to a missing path fails the build. - The paper's own figures are linked through the paper, not embedded. Trend charts wait until there is history to plot.
scripts/website.pydoes not affect reproductions, so CI does not rerun them when only it changes.
Review¶
| Finding | Disposition | Note |
|---|---|---|
| 1. No publishing workflow in the branch | Fixed | The owner added site.yml to main (#13); the branch is rebased on it. |
| 2. Link rewriting hides broken links; card HTML is not checked | Fixed | Unresolved repository-relative links now fail the build; the decision record names what the build checks. Card links are generated from declared outputs that check_meta.py verifies. |
| 3. Gallery cards overflow narrow phones | Fixed | Column minimum is min(100%, 17rem); checked at 320 and 360 px. |
Outcome¶
The site builds strictly in about a second with one reproduction, three components, and the records; it publishes on every push to main.