Skip to content

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

Description

@fmease

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.

Metadata

Metadata

Assignees

Labels

A-testsuiteArea: The testsuite used to check the correctness of rustcC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions