Repository navigation
docs: write the API docs for someone outside the project, and check every cited RE finding has a report - #896
Conversation
…very cited RE finding has a report
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 605b0d42ee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…rial sets, and not every element has a body
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7c7a38623d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…, and check none comes back; RE reports cite an export where one exists
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 438a1a78d3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…planning labels too, and the check covers them
…9, which no report names, cite RE-15 and their issues
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4747407542
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… the API docs, and the check knows those forms
Summary
The rustdoc that docs.rs shows was written for the maintainer: 1,298 of 14,633 doc-comment lines (8.9%) cited tracker ids, and the
ifcmodule's overview still described per-element export as pending. This PR:B55,VW1-13,SEC-12,L5B-54,M3-07, ...) out of the rustdoc text: 271 from parenthetical citations by script, each kept in a// Tracker:comment beside its item, and about 70 in prose by hand ("Lane Six recovery helpers", "Phase 1 leftovers", "This is L5B-11.6"), reworded to say what the thing is, and the work-plan labels left in module docs and the CLIs' docs ("Lane C", "Phase 4d", "Phase B of the attack plan") the same way;RE-NNand#NNN, which outside contributors use too (puzzbobb, Erry91 and helenkwok cite RE ids 1 to 14 times per PR), and adds one note in the crate root and one inrvt::researchsaying where they lead;tools/ci/api-doc-ids.pyin the PII guard job, that everyRE-NNthe API docs cite has a report underreports/and that no backlog id or work-plan label is back. It reads the///and//!lines ofsrc/andrvt-py/src/(pyo3 makes the latter Python docstrings), the type stubs inpython/rvt/anddocs/python.md, and skips code spans and quoted strings so Revit's phase names stay;src/ifc/mod.rsand the stale "What this does NOT do yet" list insrc/ifc/from_decoded.rs.Motivation
The 2026-10-23 style audit (Google's "avoid abbreviations someone outside the project won't know"; Rust API Guidelines C-CRATE-DOC). I first planned a link on every RE id; a dry run measured about 2,500 added reference-definition lines in 92 files, conflicting with the three open outside PRs and asking every future RE PR to add definitions, so the note plus the check does the same job.
Changes
docs_ids.py, run once, not committed).rvt-elements(--no-typed).src/lib.rs,src/research.rs: "Reading the docs" note.src/ifc/mod.rs,src/ifc/from_decoded.rs: overviews rewritten from what the code does now.tools/ci/api-doc-ids.py,.github/workflows/ci.yml: the citation and label check.rvt-py/src/lib.rs,python/rvt/__init__.pyi,docs/python.md,docs/export-diagnostics.md: the Python surface's API-13..16, Lane Five, Lane Six and Lane 7 labels, and the claim that onlyscaffoldexport succeeds until geometry recovery lands (true only of a file with no recovered elements).CHANGELOG.md.Testing
Docs only, plus the check. CI's
cargo doc(default features) and the docs.rs preview (every feature) run with-D warnings. The citation check fails on this branch until #895 lands (RE-149, RE-165, RE-166, RE-167 had no report), which is the point: this PR merges after #895.Audit-honesty checklist
build_ifc_model;from_decodeddoes attach extrusions, materials and property sets)Legal and contribution hygiene
Breaking changes
None.
rvt-elements --helpwords--no-typeddifferently.Screenshots or output samples
N/A.