You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicked a link in the README to go to a markdown page.
What did you expect to see?
Clicking the link would take me to page where I can see the markdown file rendered correctly.
What did you see instead?
It looks like pkg.go.dev redirects README links that point to github.com to raw.githubusercontent.com. This is unfortunate for markdown files since raw.githubusercontent.com doesn’t render markdown correctly. Ideally, pkg.go.dev wouldn't redirect those links if it was a markdown file, or just change these links to be relative links, e.g. [...](CONTRIBUTING.md)
https://pkg.go.dev/cuelang.org/go#section-readme is an example of a page that uses relative links to correctly link to the github page that correctly renders the markdown (e.g. "Installing CUE")
If you try to view the contributions guide from
clicking the link at
https://pkg.go.dev/github.com/DataDog/dd-trace-go,
the links will send you to the raw files at
raw.githubusercontent.com instead of nicely formatted
Markdown on github.com. Changing absolute links that
point to our own Markdown files to instead be relative
links should resolve this issue.
See golang/go#52683 for
for context.
If you try to view the contributions guide from clicking the link at https://pkg.go.dev/github.com/DataDog/dd-trace-go, the links will send you to the raw files at raw.githubusercontent.com instead of nicely formatted Markdown on github.com. Changing absolute links that point to our own Markdown files to instead be relative links should resolve this issue.
See golang/go#52683 for context.
What is the URL of the page with the issue?
https://pkg.go.dev/github.com/DataDog/dd-trace-go#section-readme has an example, but it's not specific to this page.
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
What did you do?
Clicked a link in the README to go to a markdown page.
What did you expect to see?
Clicking the link would take me to page where I can see the markdown file rendered correctly.
What did you see instead?
It looks like pkg.go.dev redirects README links that point to github.com to raw.githubusercontent.com. This is unfortunate for markdown files since raw.githubusercontent.com doesn’t render markdown correctly. Ideally, pkg.go.dev wouldn't redirect those links if it was a markdown file, or just change these links to be relative links, e.g.
[...](CONTRIBUTING.md)
https://pkg.go.dev/cuelang.org/go#section-readme is an example of a page that uses relative links to correctly link to the github page that correctly renders the markdown (e.g. "Installing CUE")
/cc @findleyr @seankhliao
The text was updated successfully, but these errors were encountered: