Collapsible sidebar items #112367
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
The sidebar can make it hard to find information if there are many enum variants or methods.
For example, a user interested in finding trait implementations for
isocountry::CountryCode
may look for this info in the sidebar. To do so, the user would have to tediously scroll through all of the variants and methods first.Current

Proposed

Proposed changelog:
.sidebar-title
heading moved from center to left, with left padding of 10px.sidebar-links > a
padding changed from 10px to 15px.sidebar-title
.collapse-toggle
(colour of#999
, typographic styling on the plus/minus character)\\
The collapsing UX can also be improved for the main content section, but I will put that in a separate issue.
If you like this idea for the sidebar, I'd be happy to submit a PR.
The text was updated successfully, but these errors were encountered: