Skip to content

go.dev: make links to examples automatically unfold example #38381

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
kortschak opened this issue Apr 11, 2020 · 3 comments
Closed

go.dev: make links to examples automatically unfold example #38381

kortschak opened this issue Apr 11, 2020 · 3 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. pkgsite
Milestone

Comments

@kortschak
Copy link
Contributor

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/twpayne/go-vfs/vfst?tab=doc#example-NewTestFS

What is your user agent?

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Screenshot

What did you do?

Navigate to https://pkg.go.dev/github.com/twpayne/go-vfs/vfst?tab=doc#example-NewTestFS and expect to see that the example is unfolded as it is in the case of documentation examples on golang.org like this https://tip.golang.org/pkg/fmt/#example_Errorf, but see that it isn't.

What did you expect to see?

Unfolded examples.

What did you see instead?

Folded example.

@gopherbot gopherbot added this to the Unreleased milestone Apr 11, 2020
@julieqiu
Copy link
Member

Thanks for the feedback! Adding this to #37819.

@julieqiu julieqiu added the NeedsFix The path to resolution is known, but the work has not been done. label Apr 20, 2020
@dmitshur
Copy link
Contributor

Is this issue different from #37520?

@kortschak
Copy link
Contributor Author

No. This is a duplicate. Thanks.

@golang golang locked and limited conversation to collaborators Apr 21, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. pkgsite
Projects
None yet
Development

No branches or pull requests

4 participants