rust-lang / rust-lang/rust

rustdoc: Rewrite HtmlDocCk from Python to Rust and greatly improve XPath support

Open
#157,172 6 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.