Skip to content

x/pkgsite: doc links with plural suffixes are not linkified #73610

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

Closed
mvdan opened this issue May 6, 2025 · 0 comments
Closed

x/pkgsite: doc links with plural suffixes are not linkified #73610

mvdan opened this issue May 6, 2025 · 0 comments
Labels
Documentation Issues describing a change to documentation. pkgsite
Milestone

Comments

@mvdan
Copy link
Member

mvdan commented May 6, 2025

What is the URL of the page with the issue?

https://pkg.go.dev/cuelang.org/go/[email protected]#Context

What is your user agent?

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

Screenshot

Image

What did you do?

Use the plural form of a type with a doc link, i.e. CUE [Value]s above.

What did you see happen?

The doc link does not seem to work on pkg.go.dev, even though it works fine with go-to-definition on gopls.

What did you expect to see?

The doc link should be linkified. Other uses without the "s" plural suffix work fine, e.g: https://pkg.go.dev/cuelang.org/go/[email protected]#Instance

@mvdan mvdan added the pkgsite label May 6, 2025
@gopherbot gopherbot added this to the Unreleased milestone May 6, 2025
@gabyhelp gabyhelp added the Documentation Issues describing a change to documentation. label May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issues describing a change to documentation. pkgsite
Projects
None yet
Development

No branches or pull requests

4 participants