-
Notifications
You must be signed in to change notification settings - Fork 18k
x/website: redirect golang.org/x/<repo> to pkg.go.dev instead of godoc.org #36106
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
Comments
One issue I noticed is that godoc.org shows the version in the master branch, while pkg.go.dev shows the "latest released" version. For example, golang.org/x/mod shows the doc from v0.1.0 because that's the latest released version. (https://pkg.go.dev/golang.org/x/mod/semver?tab=versions) But some users may want to see the doc for the recent version commited in the master branch. pkg.go.dev currently does not provide an easy way to achieve that unless the user already knows the pseudo version mapped from the current master commit. |
Being able to easily access master was something I reported during the private beta but hasn't happened. I'd love for there to be a link to |
I wish |
The redirect to I believe the long-term goal is for this issue to happen, but there is still some feature parity gap to close. @julieqiu knows more. |
Change https://golang.org/cl/234677 mentions this issue: |
The golang.org/x/pkgsite repository is the first one that needs it. For golang/go#39150. For golang/go#36747. For golang/go#36106. Change-Id: I7fa38cbe7d5d92012bb00f9c4587f60d06a94199 Reviewed-on: https://go-review.googlesource.com/c/build/+/234677 Reviewed-by: Julie Qiu <julie@golang.org>
Change https://golang.org/cl/234678 mentions this issue: |
Allow golang.org/x repos to opt-in to use pkg.go.dev for documentation. The golang.org/x/pkgsite repository is the first one to use it. Update to current golang.org/x/build version and regenerate: go get golang.org/x/build/repos@92427f67eca1ac8f769c740f272196f368082630 go mod tidy go generate ./... Fixes golang/go#39150. For golang/go#36747. For golang/go#36106. Change-Id: Ia91725c12546c4e7467601d951144af3cb1e6863 Reviewed-on: https://go-review.googlesource.com/c/website/+/234678 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Julie Qiu <julie@golang.org>
Change https://golang.org/cl/275235 mentions this issue: |
Change https://golang.org/cl/275195 mentions this issue: |
Links to godoc.org pages are changed to link to pkg.go.dev. CL 253017 and CL 234678 are also backported. For golang/go#36106 Change-Id: I6a875f5b43e456f11d8eeccfc5ef647a5501c4d3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/275235 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Change links from godoc.org to pkg.go.dev. For golang/go#36106 Change-Id: Ic3ec03efc265cdc332027d538b0c5d4d91bdac24 Reviewed-on: https://go-review.googlesource.com/c/website/+/275195 Trust: Julie Qiu <julie@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Links to godoc.org pages are changed to link to pkg.go.dev. CL 253017 and CL 234678 are also backported. For golang/go#36106 Change-Id: I6a875f5b43e456f11d8eeccfc5ef647a5501c4d3 Reviewed-on: https://go-review.googlesource.com/c/tools/+/275235 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Change https://golang.org/cl/289700 mentions this issue: |
This is done as of CL 275195. |
UsePkgGoDev was added in CL 234677 to aid with a gradual migration on golang.org. That redirection has been completed as of CL 275195, and UsePkgGoDev is no longer meaningful nor used. Remove it, since it's allowed per x/build's compatibilty policy, to keep things tidy. Updates golang/go#36106. Updates golang/go#39150. Change-Id: If3f9bed7f215a7c572a2d7a9f25b3184a1e5362a Reviewed-on: https://go-review.googlesource.com/c/build/+/289700 Trust: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Alexander Rakoczy <alex@golang.org>
No description provided.
The text was updated successfully, but these errors were encountered: