Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc: remove unused classes from sidebar links #102924

Merged
merged 2 commits into from
Oct 12, 2022

Commits on Oct 11, 2022

  1. rustdoc: remove unused classes from sidebar

    Since 98f05a0 removed separate colors
    from the currently-selected item, there's no need to have item classes on
    sidebar links.
    notriddle committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    b5963f0 View commit details
    Browse the repository at this point in the history
  2. rustdoc: remove unneeded .content selector from link colors

    Since 98f05a0 and
    b5963f0 removed color classes from sidebar
    items, there's no need for the selectors to be so specific any more.
    
    This commit does have to change `h1.fqn a` to just be `h1 a`, so that the
    header link color selector is less specific than the typed link at the end.
    Since rust-lang#89506 made docblocks start at `h2`, the main page link header should
    be the only h1 in the page now.
    notriddle committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    062284a View commit details
    Browse the repository at this point in the history