Commit Graph

6 Commits

Author SHA1 Message Date
Michael Howell
12a3c42ccc rustdoc: consistentify #TOC and #ModNav to lowercase 2024-08-20 16:51:40 -07:00
Michael Howell
95fcddd29f Add more test case 2024-08-20 16:51:39 -07:00
Michael Howell
7091fa5880 rustdoc: show code spans as <code> in TOC 2024-08-20 16:51:37 -07:00
Michael Howell
68773c789a rustdoc: add separate section for module items 2024-08-20 16:51:33 -07:00
Michael Howell
5a6054b4a2 rustdoc: add separate section for module items 2024-08-20 16:51:31 -07:00
Michael Howell
1aebff96ad Add Top TOC support to rustdoc
This commit adds the headers for the top level documentation to
rustdoc's existing table of contents, along with associated items.

It only show two levels of headers. Going further would require the
sidebar to be wider, and that seems unnecessary (the crates that
have manually-built TOCs usually don't need deeply nested headers).
2024-08-20 16:27:42 -07:00