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/pkgsite: support different GOOS/GOARCH values when displaying package documentation #37232

Open
ChrisHines opened this issue Feb 14, 2020 · 2 comments

Comments

@ChrisHines
Copy link
Contributor

@ChrisHines ChrisHines commented Feb 14, 2020

What did you do?

What did you expect to see?

An easy to discover and use way to see OS specific package documentation on the pkg.go.dev discovery site.

What did you see instead?

No documented or otherwise discoverable solution on the pkg.go.dev discovery site.

Notes

This idea extends to GOARCH specific or build tag specific docs.

@dmitshur dmitshur added the pkgsite label Feb 14, 2020
@dmitshur
Copy link
Member

@dmitshur dmitshur commented Feb 14, 2020

Thanks for filing this feature request! I agree, this would be nice to have.

/cc @julieqiu @dmitshur

@dmitshur dmitshur added this to the Unreleased milestone Feb 14, 2020
@dmitshur dmitshur changed the title pkg.go.dev: Support showing GOOS and GOARCH specific docs. go.dev: support different GOOS/GOARCH values when displaying package documentation Feb 14, 2020
@dmitshur dmitshur removed the Documentation label Feb 14, 2020
@dolmen
Copy link

@dolmen dolmen commented Mar 20, 2020

Here is a package where documentation rendering is GOARCH dependent:
https://pkg.go.dev/github.com/dolmen-go/endian/?tab=doc

@julieqiu julieqiu added the UX label Apr 22, 2020
@julieqiu julieqiu changed the title go.dev: support different GOOS/GOARCH values when displaying package documentation x/pkgsite: support different GOOS/GOARCH values when displaying package documentation Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.