Development
This page covers repository validation, local wiki authoring commands, and the publication path from the wiki submodule to GitHub Pages.
Repository validation
Before sending changes, run the repository checks that CRIEW development expects:
cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all-targets --all-features
./scripts/check-coverage.sh
Local wiki workflow
Use the cargo entry points when you edit docs/wiki from a CRIEW checkout:
cargo wiki lint
cargo wiki build
cargo wiki serve
You can also run:
cargo wiki check
That runs the wiki copy lint and then the local site build.
Local build behavior
cargo wiki lintruns the copy check withautocorrect.- If
autocorrectis missing, the first lint run downloads a local copy intotarget/wiki-venv/bin/. cargo wiki buildstagesdocs/wikiintotarget/wiki-docsand builds the local site intotarget/wiki-site.cargo wiki servestages the wiki, installs MkDocs intotarget/wiki-venv, and starts a local preview server.
Publish path
The publication path is:
docs/wiki source repo ->
scripts/prepare-wiki-site.py staging ->
mkdocs.yml build ->
.github/workflows/wiki-pages.yml deploy ->
GitHub Pages
docs/wiki is a submodule.
That means the main repository publishes the pinned wiki commit,
not the standalone wiki repository's latest remote state.
After a wiki change lands in the submodule,
the main repository still needs the updated gitlink.