rust/src/librustdoc/html/static
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
..
css rustdoc: clean up the In [name] up-pointer 2023-10-08 20:17:53 -07:00
fonts avoid reuse tripping over copyright notices 2023-03-09 12:24:43 +01:00
images rustdoc: use [svgo] to shrink wheel.svg 2023-02-08 14:17:19 -07:00
js rustdoc: clean up the In [name] up-pointer 2023-10-08 20:17:53 -07:00
.eslintrc.js Put backtick content from rustdoc search errors into a <code> elements 2023-03-02 12:59:04 +01:00
COPYRIGHT.txt avoid reuse tripping over copyright notices 2023-03-09 12:24:43 +01:00
LICENSE-APACHE.txt Make rustdoc output comply with licenses 2015-09-19 10:42:03 +01:00
LICENSE-MIT.txt Make rustdoc output comply with licenses 2015-09-19 10:42:03 +01:00
scrape-examples-help.md Update scrape-examples help, fix documentation typos 2022-12-07 09:08:43 -08:00