rust/src/librustdoc/html/templates
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
..
item_info.html Fix union fields display 2023-06-21 17:25:19 +02:00
item_union.html Fix union fields display 2023-06-21 17:25:19 +02:00
page.html rustdoc: clean up the In [name] up-pointer 2023-10-08 20:17:53 -07:00
print_item.html rustdoc: use src consistently over source in code 2023-07-14 16:38:01 -07:00
short_item_info.html Fix improper escaping of deprecation reasons 2023-03-20 05:21:51 +00:00
sidebar.html rustdoc: clean up the In [name] up-pointer 2023-10-08 20:17:53 -07:00
source.html rustdoc: avoid including line numbers in Google SERP snippets 2023-04-05 15:43:09 -07:00
STYLE.md accept review suggestion 2023-06-28 18:34:35 +02:00
type_layout.html Fix whitespace in rustdoc type_layout.html 2023-09-25 17:04:51 +02:00
type_layout_size.html rustdoc: use a separate template for type layout size 2023-04-18 10:21:04 -07:00