rustdoc: Rewrite HtmlDocCk from Python to Rust and greatly improve XPath support
Open
@lolbinarycat is already working on this.
Since Jun 17, 2026.
A-testsuite
C-enhancement
T-rustdoc
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Supersedes PR #125780. See also https://rustc-dev-guide.rust-lang.org/rustdoc-internals/rustdoc-html-test-suite.html#limitations.
META: FIXME: Flesh out this issue. This can become a tracking issue.
Re. better XPath support, https://github.com/Paligo/xee or https://github.com/james-lg/skyscraper might be a good option? The former might be excellent but might be too heavyweight, the latter might be too incomplete. Needs investigation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.