x/tools/godoc: index headers don't shorten verbose inline type definitions #32532
Comments
This was referenced Oct 8, 2019
This is already fixed in the documentation rendering done by discovery site (tracked in issue #33654): What remains here is to backport the fix to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(moved from google/go-cmp#135)
When a declaration includes anonymous types, the index can format the declaration as something completely unreadable. For example, see the
Reporter
type in the index list ofcmp
.Note that affects
gddo
andx/tools/godoc
, but notcmd/go/doc
since I fixed this in 2016. The fundamental problem is that all thegodoc
-like tools do not share much logic in terms of how it renders the front-end, so improvements to one are not benefited by all.The text was updated successfully, but these errors were encountered: