about summary refs log tree commit diff
path: root/src/test/rustdoc/titles.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-56/+0
2022-01-18Simplify and unify rustdoc sidebar stylesJacob Hoffman-Andrews-1/+6
This switches to just use size, weight, and spacing to distinguish headings in the sidebar. We no longer use boxes, horizontal bars, or centering to distinguish headings. This makes it much easier to understand the hierarchy of headings, and reduces visual noise. I also refactored how the mobile topbar works. Previously, we tried to shift around elements from the sidebar to make the topbar. Now, the topbar gets its own elements, which can be styled on their own. This makes styling and reasoning about those elements simpler. Because the heading font sizes are bigger, increase the sidebar width slightly. As a very minor change, removed version from the "All types" page. It's now only on the crate page.
2021-11-28Fix warnings in rustdoc HTML testsNoah Lev-0/+2
Now that compiletest denies warnings in these tests, they need fixing!
2021-01-13Update tests for extern block lintingMark Rousskov-3/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2016-08-27rustdoc: Add missing item types to page titlesOliver Middleton-0/+59
Most pages include the item type in the title such as "Struct std::vec::Vec". However it is missing from the pages for foreign functions, type definitions, macros, statics and constants. This adds them so for example, instead of a title of "std::u32::MAX" it is "Constant std::u32::MAX" to match the others.