Expand description
Generated artifacts from markdown code blocks: a test file per markdown source (plain rust blocks) and a runnable example per capture block. CI compares regenerated content against disk, so stale artifacts fail.
Constants§
- GENERATED_
HEADER - First line of every generated file;
docs checkuses it to tell generated artifacts from hand-written ones.
Functions§
- capture_
examples - Example-file contents for the capture blocks of one markdown doc, in capture order: (example_name, content).
- sanitized_
stem docs/measuring.md→soothfast_doc_docs_measuring.- test_
file - Test-file content for one markdown doc, or None when it has no testable blocks (all ignored / non-rust / capture).