Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/cmd/godoc: render type aliases in a group #32390

Open
masiulaniec opened this issue Jun 2, 2019 · 1 comment
Open

x/tools/cmd/godoc: render type aliases in a group #32390

masiulaniec opened this issue Jun 2, 2019 · 1 comment
Labels
FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@masiulaniec
Copy link

godoc renders each type alias in a dedicated <h2>. Please consider rendering all type aliases in one shared <h2> called Type aliases analogously to how constants and variables are currently rendered. This way, a code refactoring that breaks up a large package by moving a class of type declarations into a dedicated package will reap the benefit of making the table of contents shorter and thus more navigable.

@agnivade agnivade changed the title cmd/godoc: type aliases rendered too prominently x/tools/cmd/godoc: render type aliases in a group Jun 2, 2019
@gopherbot gopherbot added this to the Unreleased milestone Jun 2, 2019
@agnivade agnivade added FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jun 2, 2019
@agnivade
Copy link
Contributor

agnivade commented Jun 2, 2019

@dmitshur @andybons

@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

3 participants