Rust API#
The canonic library crate exposes the same engines the CLI uses:
corpus load, quality checks, pandoc convert, Tantivy search/dedupe, lint, and
Jira read-path import.
rustdoc
Open rustdoc →
Full type-level docs generated by cargo doc and shipped next to this site
when you run ./docs/build.sh.
Module overview#
corpusWalk and load
snell-*.mdresponses with front matter.checkQuality gate: 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_importREST v2 search + comments → review drafts only.
Public modules re-exported from canonic:: — see rustdoc for signatures and examples.
Build rustdoc alone#
cargo doc --no-deps --open
# or via the site build (copies into docs/build/rustdoc/):
./docs/build.sh