Skip to content

1.0: documented Rust and Python APIs whose examples run in CI #872

Closed

Description

@DrunkOnJava

What

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.
  • The crate and PyPI pages link these.

Activity

  1. added
    area:docs
    area:python
    priority:P2
    type:docs
    on Oct 21, 2026
  2. DrunkOnJava commented on Oct 24, 2026

    @DrunkOnJava
    OwnerAuthor

    Progress against this issue's four points:

    What is left is the release that publishes #948's example. I'll close this when docs.rs shows it.

  3. DrunkOnJava commented on Oct 25, 2026

    @DrunkOnJava
    OwnerAuthor

    Done with v0.8.0, measured from what it published on 2026-10-25:

    The 1.0 criteria record S3 as passed for 0.8.0 in the post-release docs pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:docsarea:pythonpriority:P2type:docs

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions