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/website: 'Packages' link mistakenly points to search box instead of standard package docs #49737
Comments
golang.org and go.dev were inconsistent in what the top bar 'Packages' link pointed to. We have to pick just one, and it seems far more useful to me I believe the current behavior, of linking to pkg.go.dev, is working as intended. |
It makes sense for the There has to be a way to find out what packages Go actually ships with. The quickest way appears to be: click on Docs to reach https://go.dev/doc/, then scroll down to
which then links to https://pkg.go.dev/std, under the cryptic "Package Documentation" title (what package?) But that's like two thirds down, in a page with other 45 links, all equally prominent. IMO there should be a link to https://pkg.go.dev/std prominent on https://pkg.go.dev/. So I would see something like "Standard library documentation" that jumps to https://pkg.go.dev/std, or I'd use the search bar if instead I wanted to look for 3rd party packages. |
I believe that part is #40785 |
Ah, that's right. I forgot about that one. It certainly got more relevant now that the migration to go.dev is in progress. |
Change https://golang.org/cl/366577 mentions this issue: |
I sent a CL to put "Standard Library" in the footer menu under "Packages". |
Change footer About heading to link to /project. Linking to /about was always mainly about pkg.go.dev, and now it redirects to pkg.go.dev/about, so that's clearly wrong. But we need a link to somewhere, and we also need a link to /project (which used to a be a top-level heading on golang.org), so it's a good match. Add Standard Library to Packages section. Add Help to Get Started section. (Used to be a top-level heading on golang.org.) For golang/go#40785 (but probably more to do there). Fixes golang/go#49737. Fixes golang/go#49768. Change-Id: I4a0837aaaa89b3bd79bda7a55bcff3a5ef9e206b Reviewed-on: https://go-review.googlesource.com/c/website/+/366577 Trust: Russ Cox <rsc@golang.org> Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jamal Carvalho <jamal@golang.org>
New go.dev website's
Packages
link should go to the standard package docs (https://pkg.go.dev/std), not a search box. That is the new site has a regression in usability and should be reverted to the direct link.The text was updated successfully, but these errors were encountered: