Source of pqblocks.github.io, the documentation site of the PQBlocks organisation: verified building blocks for post-quantum cryptography, migration, interoperability, conformance and quantum-inspired optimisation.
flowchart LR
P[package repositories<br/>topic: pqblocks] -->|build_catalog.py --verify<br/>runs every quickstart| C[data/catalog.json]
C -->|gen_docs.py| D[package, area and catalog pages<br/>llms.txt · llms-full.txt]
C -->|gen_diagrams.py| G[SVG diagrams]
R[docs/recipes/code/*.py] -->|check_recipes.py| OK[recipes executed]
D & G & OK --> M[mkdocs build --strict] --> S[GitHub Pages]
| Path | What it is | Edit by hand? |
|---|---|---|
data/catalog.json |
Package facts, built by pqblocks-mcp/scripts/build_catalog.py --verify |
No, regenerate |
docs/packages/*.md, docs/llms*.txt, docs/includes/quickstart/ |
Generated by scripts/gen_docs.py |
No |
docs/assets/diagrams/*.svg |
Generated by scripts/gen_diagrams.py |
No |
docs/recipes/code/*.py |
Recipe programs, included verbatim in the recipe pages | Yes, then run check_recipes.py |
Everything else in docs/ |
Hand-written pages | Yes |
pip install -r requirements-docs.txt
python3 scripts/gen_docs.py && python3 scripts/gen_diagrams.py
python3 scripts/check_recipes.py ../packages # needs the package sources and liboqs
mkdocs serveCI regenerates the pages, fails if the committed ones are stale, and builds with --strict before deploying.
- Answer-first page leads, question-shaped headings and an FAQ on the home page
schema.orgJSON-LD on every package, area and catalog page, plusOrganizationandWebSiteon the home page- Generated social cards, canonical URLs,
sitemap.xml, per-page meta descriptions and last-updated dates robots.txtopen to search and AI crawlers,llms.txtandllms-full.txtfor agents
Part of PQBlocks, a QubitRock project. Content licensed under Apache-2.0.