x/pkgsite: how to improve the poor usability of the documentation "Index" section #57138
Labels
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
pkgsite
Milestone
For larger packages the doc generated "Index" section is most unhelpful.
See for example, the Go FLTK bindings.
There are two separate ways this could be improved:
For types with methods, show, e.g., "
▶
type BmpImage" with no methods, unless the user clicks the triangle in which case it becomes "▼ type BmpImage" with all the methods shown (as now).When there are more than some threshold number of functions (or methods) — say 7, where the first word is the same (e.g., func Draw(), func DrawArc(...), ..., func DrawYxLine3(...)), use the same technique as decribed above in 1.
These changes would make navigation much easier.
The text was updated successfully, but these errors were encountered: