about summary refs log tree commit diff
path: root/src/test/rustdoc/trait-impl.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-45/+0
2022-12-16Add test for presence of read more linksGuillaume Gomez-2/+0
2022-09-13rustdoc: clean up DOM by removing `.dockblock-short p`Michael Howell-12/+12
On https://doc.rust-lang.org/nightly/std/ this reduces the number out of `document.querySelectorAll("*").length` from 1278 to 1103.
2022-08-13rustdoc: Fix incorrect usage of `@!has` and `@!matches`Noah Lev-1/+1
`@!has` (and `@!matches`) with two arguments used to treat the second argument as a literal string of HTML code. Now, that feature has been renamed into `@!hasraw` (and `@!matchesraw`), and the arity-2 `@!has` version is an error. These uses thought the second argument was being treated as an XPath, as with the arity-3 version, but in fact was being treated as literal HTML. Because these were checking for the *absence* of the string, the tests silently did nothing -- an XPath string won't ever be showing up in the test's generated HTML!
2022-08-13Update `@!has` name in testsNoah Lev-1/+1
2022-07-05rustdoc: Add more semantic information to impl idspierwill-1/+1
Instead of generating `#impl`, `#impl-1`, etc., generate IDs like `#impl-Foo<M>`. Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2021-07-25Rustdoc accessibility: use real headers for doc itemsbors-1/+1
Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
2021-05-02Update testsGuillaume Gomez-15/+16
2020-08-30rustdoc: do not use plain summary for trait implsAndy Russell-0/+46
Fixes #38386. Fixes #48332. Fixes #49430. Fixes #62741. Fixes #73474.