rust-cookbook icon indicating copy to clipboard operation
rust-cookbook copied to clipboard

Suggestion: show topics in topics overview grouped by sections

Open kud1ing opened this issue 5 years ago • 3 comments

Maybe there is an issue already for this, but i could not find it.

Example:

  • click on "Date and Time" https://rust-lang-nursery.github.io/rust-cookbook/datetime.html
  • on the left there are the sections "Duration and Calculation" and "Parsing and Displaying"
  • on the right there is just a flat list of topics, not grouped by these section

I personally find that a bit confusing and would prefer it if the topic list on the right would be grouped by the sections as well.

kud1ing avatar Mar 20 '19 07:03 kud1ing

If someone wants to come up with a different style for the overview than we'd be happy to review it. Here's the file. Maybe creating a row within the table that has a styled section heading would look ok?

AndyGauge avatar Apr 12 '19 15:04 AndyGauge

Oh, i haven't realised, this is not generated.

Maybe something like

# Date and Time

## Duration and Calculation
| Recipe | Crates | Categories |
[...]

## Parsing and Displaying
| Recipe | Crates | Categories |
[...]

... while the subsection titles should have appropriate links.

kud1ing avatar Apr 13 '19 06:04 kud1ing

Seems reasonable.

AndyGauge avatar Apr 16 '19 15:04 AndyGauge