rust/src/librustdoc/html
Michael Howell 47c46324aa rustdoc: clean up the In [name] up-pointer
This commit makes three changes for consistency and readability:

  - It shows the sibling navigation on module pages. It's weird
    that it didn't work before, and is inconsistent with everything
    else (even Crates have sibling navigation with other Crates).
  - It hides the "In [parent]" header if it's the same as the
    current crate, and if there's no other header between them.
    We need to keep it on modules and types, since they have
    their own header and data between them, and we don't want
    to show siblings under a header implying that they're children.
  - It adds a margin to deal with the headers butting directly into
    the branding lockup.
2023-10-08 20:17:53 -07:00
..
highlight Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
length_limit Remove from librustdoc and clippy too 2023-01-27 20:44:19 -08:00
markdown Allow more characters in custom classes 2023-09-19 17:29:30 +02:00
render rustdoc: clean up the In [name] up-pointer 2023-10-08 20:17:53 -07:00
static rustdoc: clean up the In [name] up-pointer 2023-10-08 20:17:53 -07:00
templates rustdoc: clean up the In [name] up-pointer 2023-10-08 20:17:53 -07:00
toc Format the world 2019-12-22 17:42:47 -05:00
url_parts_builder Document and test UrlPartsBuilder::push_fmt 2022-01-14 12:05:35 -08:00
escape.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
format.rs rustdoc: fix & clean up handling of cross-crate higher-ranked lifetimes 2023-10-03 17:16:51 +02:00
highlight.rs Implement custom classes for rustdoc code blocks with custom_code_classes_in_docs feature 2023-09-15 21:32:27 +02:00
layout.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
length_limit.rs Improve code readability by moving fmt args directly into the string 2023-08-16 16:35:23 +02:00
markdown.rs rustdoc: while -> if 2023-09-27 22:07:33 +02:00
mod.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
sources.rs rustdoc: remove rust logo from non-Rust crates 2023-10-08 20:17:53 -07:00
static_files.rs rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
tests.rs rustdoc: avoid many Symbol to String conversions. 2022-01-14 11:57:18 -08:00
toc.rs fix clippy perf lints 2022-05-24 13:35:54 -04:00
url_parts_builder.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00