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
{{ message }}
Repository navigation
1.0: documented Rust and Python APIs whose examples run in CI #872
area:docsWork in the docs area.area:pythonWork in the python area.priority:P2Important quality, usability, or hardening work.type:docsDocumentation or user guidance.
The 1.0 milestone requires "documented Rust and Python APIs with runnable examples on crates.io/docs.rs and PyPI". Today, measured on main at e56245f:
Rust. docs.rs builds rvt 0.6.1 (HTTP 200), and CI denies rustdoc warnings. The three crate-level examples in src/lib.rs are no_run, so nothing checks that they work. examples/ has 177 probe_*.rs research probes and about 40 other research programs. None is a user example such as "open a project, list its elements, export IFC".
Python.docs/python.md has 21 Python code blocks, and CI runs none of them. tests/python exercises the bindings but does not execute the documentation.
Done when
docs.rs shows the entry points a user needs: open, inspect, elements with provenance, export IFC, glTF and CSV, and diagnostics. Each has an example that runs in CI against a committed synthetic fixture (corpus/tier1/ or gen-fixture).
examples/ separates user examples from research probes, for instance by moving probes to a research directory or prefixing them, and the README links the user examples.
Every Python block in docs/python.md runs in CI against the same fixture, or is marked as output.
Python blocks run in CI (S4). Every runnable block in docs/python.md runs in CI.
Crate and PyPI pages link these. The crates.io page (the 0.8.0 README) links the examples and docs.rs; the PyPI page (rvt-py/README.md) links the Python guide.
The 1.0 criteria record S3 as passed for 0.8.0 in the post-release docs pull request.
area:docsWork in the docs area.area:pythonWork in the python area.priority:P2Important quality, usability, or hardening work.type:docsDocumentation or user guidance.
Activity
docs(release): 1.0's requirements as passed, failed or not measured, …
docs(api): class_tag_map's example names its rvt::research path, whic…
docs(api): examples that run on the entry points, with their errors, …
docs(examples): three user examples that open a file, list its elemen…
docs(python): the guide's examples run in CI, and signature blocks ar…
docs(api): open_bytes_with_limits and writer::copy_file have examples…
docs(api): open_with_limits, the writer's round trip and render_plan_…
docs: the docs name v0.7.0 as the latest release, each channel checke…
DrunkOnJava commentedon Oct 24, 2026
Progress against this issue's four points:
Entry points with examples that run in CI. Done on
main:RevitFile::openand the other entry points (docs(api): examples that run on the entry points, with their errors, and CI runs the doctests (#872) #900, docs(api): open_with_limits, the writer's round trip and render_plan_svg have examples CI runs (#872) #925), which CI runs;writer::write_with_patches, which had no doc comment at all, gained its doc and example in docs: the docs name v0.7.0 as the latest release, each channel checked, and write_with_patches is documented (#872) #948.docs.rs shows 0.7.0, which has every listed example but that one, so criterion S3 passes at the next release.
User examples apart from probes.
examples/README.mdlists the three user examples,basics_inspect,basics_elementsandbasics_export, which CI runs (docs(examples): three user examples that open a file, list its elements and export it, run in CI (#872) #904). The README links it from "Use the Rust library".Every Python block runs or is marked. The three runnable blocks of
docs/python.mdrun through the built wheel, and the signature blocks are fencedtext(docs(python): the guide's examples run in CI, and signature blocks are marked as such (#872) #902). Criterion S4 passed.The crate and PyPI pages link these. The README is the crate's page. The PyPI page (
rvt-py/README.md, docs(python): a PyPI page for Python users with absolute links, and CI checks the wheel's description (#905) #906) links the Python guide.What is left is the release that publishes #948's example. I'll close this when docs.rs shows it.
DrunkOnJava commentedon Oct 25, 2026
Done with v0.8.0, measured from what it published on 2026-10-25:
RevitFile::open,open_with_limits,open_bytes,open_bytes_with_limits,metadata::read_metadata,walker::iter_elements,RvtDocExporter::export_with_diagnostics,write_step,gltf::model_to_glb,schedule_csv::elements_csv,sheet::render_plan_svg,writer::copy_file,write_with_patches(0.7.0's page had none, docs: the docs name v0.7.0 as the latest release, each channel checked, and write_with_patches is documented (#872) #948) andverify_patches_applied. CI runs them as doctests againstcorpus/tier1/(docs(api): examples that run on the entry points, with their errors, and CI runs the doctests (#872) #900).examples/basics_inspect.rs,basics_elements.rsandbasics_export.rs, listed inexamples/README.mdand run by CI (docs(examples): three user examples that open a file, list its elements and export it, run in CI (#872) #904). The README's "Start here" table links them.docs/python.mdruns in CI.rvt-py/README.md) links the Python guide.The 1.0 criteria record S3 as passed for 0.8.0 in the post-release docs pull request.
docs: the docs name v0.8.0 as the latest release, each channel checke…
docs(criteria): W1 and S3 checked from what v0.14.0 published, run_ex…