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

x/website: links in header/footer of tip.golang.org should redirect to pkgsite at tip #50180

Open
ahmetb opened this issue Dec 15, 2021 · 2 comments
Labels
Milestone

Comments

@ahmetb
Copy link

@ahmetb ahmetb commented Dec 15, 2021

It seems that with the shift towards pkgsite (pkg.go.dev), now clicking on the https://tip.golang.org > "Packages" link does not make it possible to browse the stdlib packages in "tip" (since it just sends the user to the https://pkg.go.dev/ homepage, which has no indication of "tip" that the user can easily find.)

This wasn't always the case: http://web.archive.org/web/20190318200504/https://tip.golang.org/pkg/ In the past, clicking Packages from the navbar showed the visitor package documentation from the tip.

Proposal: clicking on Packages from the navbar on tip.golang.org should send the user to a page where they can browse the packages at the tip, such as https://pkg.go.dev/@master but that does not work, I think (although the @master suffix for the URL works if the rest of the URL is a valid package name).

@gopherbot gopherbot added this to the Unreleased milestone Dec 15, 2021
@cherrymui
Copy link
Contributor

@cherrymui cherrymui commented Dec 15, 2021

@dmitshur
Copy link
Contributor

@dmitshur dmitshur commented Dec 15, 2021

This was done in other cases, for example https://tip.golang.org/pkg redirects to https://pkg.go.dev/std@master. Looks like this is an edge case that was missed, and just needs to be fixed. Thanks for reporting.

@dmitshur dmitshur changed the title x/website: tip.golang.org should redirect to pkgsite with tip link x/website: links in header/footer of tip.golang.org should redirect to pkgsite at tip Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants