-
Notifications
You must be signed in to change notification settings - Fork 18k
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/pkgsite: move package files to bottom of doc page #40611
Comments
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. |
Change https://golang.org/cl/250544 mentions this issue: |
What is the URL of the page with the issue?
https://pkg.go.dev/cuelang.org/go/cue?tab=doc
What is your user agent?
Screenshot
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: