You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: convert doc examples to tested doctests (#504)
## Summary
- Convert 14 doc examples from `rust,ignore` to compiled/tested doctests
across `custom_builtins.md`, `threat-model.md`, `python.md`, and
`logging.md`
- Fix pre-existing doc test failures: 3 network examples using
`.network()` (behind `http_client` feature) in non-feature-gated modules
now correctly use `rust,ignore`
- Fix incorrect `MountableFs::new()` call in `threat-model.md` to match
actual API signature
- Add code example fencing rules and doctest guidance to
`specs/008-documentation.md`
## Test plan
- [x] `cargo test --doc` (no features) — 76 passed, 0 failed
- [x] `cargo test --doc --all-features` — 84 passed, 0 failed
- [x] `cargo doc --no-deps` builds without errors
- [x] `just check` (fmt + clippy + test) passes
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments