Rust API#
The canonic library crate is documented inside this Shibuya site
via sphinxcontrib-rust (same pattern as rgpot): module pages are generated
from the Rust sources during ./docs/build.sh and appear under the toctree below.
Module map#
configcanonic.toml/ CLI prefix and optional[jira]settings.corpusWalk and load
{prefix}-*.mdresponses with front matter.checkQuality check: prefix, sop, ids, team-generic closings.
convertPandoc markdown ↔ Jira wiki markup.
indexTantivy reindex, BM25 search, near-duplicate pairs.
lintVale CLI and in-process Harper grammar checks.
doctorTooling presence (pandoc, Vale, Harper).
jira_importFree REST probe, import drafts, explicit comment POST.
scaffoldNew templates and promote import → responses.
tuiInteractive ratatui corpus browser.
Public modules re-exported from canonic:: - full signatures in the generated reference below.
Building the site#
# needs emacs (org export), Python venv deps, and sphinx-rustdocgen (cargo install)
./docs/build.sh
# open docs/build/index.html - Rust API is under docs/build/api.html and crates/
# sphinx-rustdoc-postprocess injects the crate toctree here at build time.