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: documentation misparsed as an anchor #39270

Closed
dottedmag opened this issue May 27, 2020 · 3 comments
Closed

x/pkgsite: documentation misparsed as an anchor #39270

dottedmag opened this issue May 27, 2020 · 3 comments
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done. pkgsite Suggested Issues that may be good for new contributors looking for work to do.

Comments

@dottedmag
Copy link
Contributor

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/ridge/[email protected]?tab=doc#Do

What is your user agent?

Vivaldi 81.0.4044.142

Screenshot

Screenshot 2020-05-27 at 13 47 39

What did you do?

Nothing

What did you expect to see?

"Do calls the function and panics on error" is not an anchor.

What did you see instead?

"Do calls the function and panics on error" is an anchor.

godoc.org handles it properly: https://godoc.org/github.com/ridge/must#Do

@gopherbot gopherbot added this to the Unreleased milestone May 27, 2020
@julieqiu julieqiu added NeedsFix The path to resolution is known, but the work has not been done. and removed Documentation labels May 27, 2020
@julieqiu
Copy link
Member

Thanks for reporting the bug! We'll work on a fix.

@julieqiu julieqiu changed the title go.dev: Misparses documentation as an anchor go.dev: misparses documentation as an anchor May 27, 2020
@julieqiu julieqiu changed the title go.dev: misparses documentation as an anchor go.dev: documentation misparsed as an anchor May 27, 2020
@julieqiu julieqiu changed the title go.dev: documentation misparsed as an anchor x/pkgsite: documentation misparsed as an anchor Jun 15, 2020
@julieqiu julieqiu added the Suggested Issues that may be good for new contributors looking for work to do. label Jun 15, 2020
@kisunji
Copy link

kisunji commented Jun 16, 2020

According to this comment, this is expected behaviour (albeit one which maybe didn't exist in godoc)

This line does not end in a punctuation:
https://github.com/ridge/must/blob/v0.2.0/must.go#L42

Is this something to be fixed?

@dottedmag
Copy link
Contributor Author

No, it's fine.

@golang golang locked and limited conversation to collaborators Jul 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done. pkgsite Suggested Issues that may be good for new contributors looking for work to do.
Projects
None yet
Development

No branches or pull requests

4 participants