Repository navigation
docs(contributing): the contributing guide, the Python page and the install guide match the code, workflows and release assets - #1336
Merged
Conversation
…nstall guide match the code, workflows and release assets
DrunkOnJava
marked this pull request as ready for review
November 4, 2026 06:33
DrunkOnJava
enabled auto-merge (squash)
November 4, 2026 06:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CONTRIBUTING.md,docs/python.mdanddocs/install.mdread line by line against the code, workflows and release assets they describe; what was wrong or stale is fixed. Docs only: no code, tests, tools or other pages change.Motivation
The three pages are the first a contributor or user reads, and each had drifted: the unit-test rule had an exception it did not state,
python.mdstill described a 395-class schema and a registry that is not wired in, andinstall.mdnamed the release archives without thevthey carry.Changes, each with the file it rests on
CONTRIBUTING.mdcargo check --lib --binswithunnameable_typesdenied, a build of every target, the doc tests and the user examples, not only fmt, clippy, rustdoc and the integration tests (tools/check-local.shusage text). The jobs CI adds after it: the MSRV entry and i686 checks (.github/workflows/ci.yml).changelog.d/, neverCHANGELOG.md(changelog.d/README.md,python3 tools/release/changelog.py check);maintakes signed commits and squash merges, and the maintainer replaces an unsigned contributor commit (docs/maintaining.md, lines 55 and 79 to 81); the one required check isfull / CI passedonce a PR is ready, onlyfast / ...while it is a draft (.github/workflows/ci-pr.yml, ci: a draft pull request runs the fast jobs, and the full set with CI passed runs when it is marked ready (#1237) #1319).#[cfg(test)]exists insrc/,rvt-py/srcorrvt-wasm/src, and CI's test job runscargo test --profile ci --docand the--test integrationtargets (ci.ymllines 242 and 490 to 597), so the first helper test addscargo test --lib.real,cli,contractandhardening;unitis no class any more (tools/ci/verify-real-files.shline 54, the header oftools/ci/test-targets.txt).tests/common/mod.rsALL_YEARS, 12 entries); the project corpus holds Revit 2023, 2024 and 2025 files (docs/reference-models.md: Einhoven 2023, Core Interior 2024, RE1 2025).ci,buildandresearch, and the scopes in use are those of the last 400 commits ofmain(git log origin/main: feat 115, docs 76, fix 54, ci 48, research 33, chore 22, refactor 15, perf 14, build 14, test 6; scopes ifc 117, elements 35, measure 32, release 17, reader 16, deps 13, ...), notobject_graph,elem_tableandreadme.docs/python.md(againstrvt-py/src/lib.rsandpython/rvt/__init__.pyi)src/formats.rsSCHEMA_SCAN_LIMITdoc,docs/evidence.md, RE-264's table), not 395 and 13,570; the 1 to 2 MB figure is dropped, as nothing measured it.schedule_csv(kind, metric, excel)andmetadata(redact)are methods, listed in the properties table; they are now under Methods, withmetadata's real keys (lib.rsdoc ofmetadata,docs/schemas/file-metadata.schema.json) andschedule_csv'sValueErroron another kind (lib.rs827 to 833).unread_streams()was only mentioned in prose; it now has its entry (lib.rs432 to 441).decoded_elements()entries also carryparameters, and a file whose parameters cannot be read raises aUserWarning(lib.rs697 to 724).read_adocument()also raisesIOErroron a stream failure, andread_adocument_lossy()also raisesValueErrorwhen there is noADocumentclass (lib.rs575 to 604 and 647 to 652); the Errors table lists theValueErrorcases that exist (to_py_valcall sites).iter_elements" is false:iter_elementsprefers the typed decoders ofMVP_TYPED_CLASSESanddecoded_elements()exposes their projection (src/elements/mod.rsmodule doc,docs/compatibility.mdsection 3); the paragraph says what is and is not exposed.tests/python/test_docs_python.py, which runs everypythonblock of the page against the synthetic fixture, so a signature block is fencedtext.Cargo.toml,rvt-py/Cargo.toml, tagv0.13.0),abi3-py38, MSRV 1.87, every default limit (OpenLimits,InflateLimits,WalkerLimits), every signature and default includingsaved_meshes=True, the saved-mesh scope (Revit 2023 to 2027,saved_meshes::default_scope) and theRuntimeWarningtext (attach_saved_meshes), the version support table (docs/compatibility.mdsection 1), and the python blocks, which still run.docs/install.mdvincluded:rvt-rs-v0.13.0-x86_64-unknown-linux-musl.tar.gz(release asset list ofv0.13.0;release-binaries.yml"Package":version="${TAG_INPUT}"). The 12 places that wrote<version>for an archive now write<tag>, and the page says that the wheel and the image tag have nov(release-binaries.ymlmeta step:version="${TAG_INPUT#v}").rvt-rs-<tag>.intoto.jsonl(thev0.13.0asset list).publish.ymlmatrix: manylinux2014 and musllinux_1_2 on x86_64 and aarch64, macOS arm64 and x86_64, Windows x64; the assetsmacosx_11_0_arm64andmacosx_10_12_x86_64), the archive contents (README.md, LICENSE, NOTICE), the container (distroless static,WORKDIR /data,CMD rvt-info --help,docker/Dockerfile),docker/stage.shandgh release downloaduse, the[[bin]]list (19, all installed bycargo install rvt --locked; no page here states a count), thervt-ifc --mode strict --diagnosticsflags, and theconfidence.levelkey of the smoke test.Testing
Unit tests are banned in this repository: none added. Docs only.
tools/check-local.shpasses: not run locally (no local builds here); the PR's CI is the checkAudit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
Screenshots or output samples
N/A.
Related issues
None.