Validate a change¶
python3 scripts/check-docs.py
python3 -m unittest discover -s scripts/tests -v
cargo fmt --all -- --check
cargo check --workspace --locked
cargo test --workspace --locked
cargo clippy --workspace --all-targets --locked -- -D warnings
RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps --locked
Documentation-only changes need the documentation checker; run Rustdoc tests and builds when API comments or examples change. Run the checker tests when changing the checker or registry format. The complete Cargo test suite includes Rustdoc examples. CLAP changes also need the bundle, smoke-host, and validator checks described in Getting started.
Describe the resulting behavior, validation performed, and material limits in each change. Record platform or host evidence with the actual environment in work status; test results from one host do not establish general compatibility.
For live guide/API previews and strict static-site builds, use the documentation portal workflow.