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

go.dev: Package URL for docs should end with package name #40550

Closed
prashantv opened this issue Aug 3, 2020 · 1 comment
Closed

go.dev: Package URL for docs should end with package name #40550

prashantv opened this issue Aug 3, 2020 · 1 comment

Comments

@prashantv
Copy link
Contributor

This is a UX issue related to how pkg.go.dev works as compared to godoc.org. Here are the API documentation URLs for the zap package,

If I delete the ?tab=doc, it will end up redirecting with the URL parameter added.

Often, a user may want to navigate the package structure using the URL, e.g., Modifying /zap to /zap/zaptest. To do this with godoc, it was easy as the package name was the last element. With pkg.go.dev, it requires scanning (or deleting) ?tab=doc before being able to make the modification, making the experience more painful.

Since the default go pkg.go.dev/<package> is the documentation page, can we also avoid adding the ?tab=doc suffix to the URL?

@gopherbot gopherbot added this to the Unreleased milestone Aug 3, 2020
@mvdan
Copy link
Member

mvdan commented Aug 3, 2020

I personally agree, but this is a duplicate of #37351, which already has had some activity :) You can give your thumbs up there.

@mvdan mvdan closed this as completed Aug 3, 2020
@julieqiu julieqiu added pkgsite and removed website labels Aug 17, 2020
@golang golang locked and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants