-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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: redesign - surfacing “latest” #41588
Comments
@julieqiu I really like the new beta design, thank you for the work! I think I found a bug with this feature; when I navigate to https://beta.pkg.go.dev/mvdan.cc/sh/syntax, clicking on "The highest tagged major version is v3." takes me to https://beta.pkg.go.dev/mvdan.cc/sh/v3, not https://beta.pkg.go.dev/mvdan.cc/sh/v3/syntax. I guess this is fine as a fallback, if v3/syntax doesn't exist as a package. But if the same sub-package exists in the new major version of the module, I think we should directly link there. Otherwise I have to go into "directories" and find it again. |
These changes are live on pkg.go.dev, and all related issues have been addressed except Closing this issue. |
We'll be redesigning pkg.go.dev based on feedback received over the last year. This is the third in a series of issues about plans for the pkgsite/design-2020 milestone. Comment below with any feedback or suggestions related to this issue!
Overview
There are multiple ways in which “latest” can be defined for a path. In order to better express various relationships, we will use the following terms:
Design
Pkg.go.dev will continue to use the following:
Note: This image is a mock, so the data may not accurately represent the exact contents of this package.
We plan to also use the banner style to indicate other information related to surfacing the “latest” version, such as when a path is not present in the latest version of the module.
If a path exists in the latest version of a module, pkg.go.dev/<path> will always show the contents for the latest version of the containing module.
Related Issues
The text was updated successfully, but these errors were encountered: