Table of Contents vs Summary section #218
Replies: 1 comment
-
I should clarify that the titles are pretty bad currently, as post of them were auto-generated from the anchors that guidelines used to have before the conversion to the current format. Here's the commit for reference 798001a It'd be nice if we improved the titles to be both more descriptive and more consistent. I guess we'll have to do this at some point.
Fair enough. There might be some way to generate a TOC for each section to avoid having to do this manually. |
Beta Was this translation helpful? Give feedback.
-
@bbatsov asked in #216 whether the TOC satisfied my request for a distinct "bullet point" summary of the guidelines.
The TOC items indicate what type of guidelines there are but not the actual guidelines themselves. For example "Link Breaks in ns" just tells you that the guideline is about newlines in
ns
but gives no indication of whether you should or should not have them nor of when you should have them. The TOC gives you an idea of what guidelines there are and lets you get to the guideline(s) for a specific topic, but you still have to go to each section, in turn, to see what the guidelines actually are.I agree that duplicating content introduces a maintenance overhead but there is currently no way to quickly read over just the guidelines themselves -- you have to wade through the whole document, picking them out of the rationale and examples. I think having an easy-to-read summary at the start of the document is worth that extra maintenance.
Beta Was this translation helpful? Give feedback.
All reactions