Closed
Description
In rustdoc sidebars, most headings are clickable links. For instance, "Required Methods" and "Implementors" in the sidebar of https://doc.rust-lang.org/nightly/std/string/trait.ToString.html.
However, the headings under "Other items in..." are not clickable. We should link those to the appropriate subheading on the module page. That allows the user to see a more verbose listing of items in the module, since each one has a description alongside it.
Activity
TmLev commentedon Jan 17, 2022
So, for instance, sidebar heading
Structs
should lead here?chansuke commentedon Jan 17, 2022
@rustbot claim
jsha commentedon Jan 17, 2022
Yes, that's correct.
jsha commentedon Jan 21, 2022
By the way @chansuke be aware this will conflict with #92660. Resolving the conflict should be pretty easy though.
chansuke commentedon Jan 22, 2022
@jsha Thanks
jsha commentedon Jan 31, 2022
@chansuke any progress on this? I'd like to get it landed before the beta cut, so we have a consistent UI where headings in the sidebar are clickable.
chansuke commentedon Jan 31, 2022
@jsha sorry, i couldn't make time last week.ok,i will unassign me, thanks.
Rollup merge of rust-lang#93673 - jsha:linkify-sidebar-headings, r=Gu…
3 remaining items