Contributing¶
This repo is the suite's consumer-side context. It does not accept contributions to library code — that goes through normal GitHub Issues/PRs in the individual library repos. What you maintain here is the routing data and the generated API references.
Adding a library to the suite¶
- Add a row to
LIBRARY_REGISTRY.md— name, distribution mode (cloneorpypi), and install command. - Add a row to the Docs palette registry table in the same file, keeping
each
primarycolour unique. - Add a section to
PYCEMRG_SUITE.md— one-paragraph purpose plus a task-phrased capabilities list (until CI generates this). - Wire up the
export-apiworkflow in the new library's repo so itssource/{library}.mdreference lands here on the next push tomain.
Both registry files are the canonical source — the Overview and Library Registry pages on this site include them verbatim, so editing the root files updates the site.
Distribution mode changes¶
When a library migrates from clone to PyPI, change its Distribution column in
LIBRARY_REGISTRY.md from clone to pypi. No other edits are needed —
/pycemrg-build reads that column to choose between a pip install and a
git clone.
Maintenance ownership¶
| File | Maintained by |
|---|---|
LIBRARY_REGISTRY.md |
Hand |
PYCEMRG_SUITE.md |
CI (future) / hand |
source/*.md |
CI on push to main in each library repo |
commands/*.md, pycemrg-docs/ |
Hand |
Building the docs locally¶
pip install mkdocs-material
mkdocs serve # live preview at http://127.0.0.1:8000
mkdocs build --strict # the CI gate — fails on broken internal links
The site deploys to GitHub Pages automatically via
.github/workflows/docs.yml on every push to main that touches docs/,
mkdocs.yml, or the canonical registry files.
One-time repo setting
GitHub Pages must be set to deploy from Actions: repo Settings → Pages → Source = "GitHub Actions", or the workflow deploys nothing.