x/pkgsite: move package files to bottom of doc page #40611
What is the URL of the page with the issue?
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.59 Safari/537.36
What did you do?
Visited the page.
What did you expect to see?
As a user of the package, the most important information about this package at the top of the page.
What did you see instead?
A long list of the package files.
As a user of the package, I don't really have any need for this information.
If this is required (see #37863) then it should appear towards the bottom, as the primary user of this page is a user of the package.
The text was updated successfully, but these errors were encountered:
We can move the package files to the bottom of the page. They were added to that position to match the structure on godoc.org.
Example for https://godoc.org/cuelang.org/go/cue:
We'll move the package files section to the bottom of the page. Mock to be implemented:
Thanks @julieqiu. I think my eye/mind must have simply skipped this before because the amount of space this section currently takes up on godoc.org is markedly less that pkg.go.dev. But moving to the bottom sounds sensible - this is useful information, but only to a small percentage of people (citation required).
I agree that, with the page exactly as it is, the file listing should be at the bottom.
However, I would venture to say that this problem is really "created" by a combination of:
I am fairly certain that solving (reverting, perhaps?) those two points would make this a non-issue.