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: example links do not open examples #37520

Open
rsc opened this issue Feb 27, 2020 · 1 comment
Open

x/pkgsite: example links do not open examples #37520

rsc opened this issue Feb 27, 2020 · 1 comment

Comments

@rsc
Copy link
Contributor

@rsc rsc commented Feb 27, 2020

Start at https://pkg.go.dev/strings?tab=doc#pkg-examples
and click on Fields, or jump straight to
https://pkg.go.dev/strings?tab=doc#example-Fields

Either way, the page ends up positioned on the “> Example” for Fields,
but it doesn't open the example. It's not obvious at first what has happened.

At the least, the example should be opened.

I also wonder if the page can be adjusted to display the Fields definition
and docs, assuming they fit onto the same screen as the example.

@cagedmantis cagedmantis added the pkgsite label Feb 27, 2020
@julieqiu
Copy link
Contributor

@julieqiu julieqiu commented Feb 28, 2020

Thanks for the feedback! I'll work with our UX team on improving this.

/cc @fflewddur

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
4 participants
You can’t perform that action at this time.