Skip to content

x/pkgsite: links in README.md are having the #anchor stripped so don't link to a subsection of the external doc #59826

Open
@TristanSpeakEasy

Description

@TristanSpeakEasy

What is the URL of the page with the issue?

https://pkg.go.dev/github.com/speakeasy-api/speakeasy-client-sdk-go#section-readme

What is your user agent?

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36

Screenshot

image

What did you do?

Clicking any of the links in the render Readme section of the pkg.go.dev page for a module, will take you to a link for example https://github.com/speakeasy-api/speakeasy-client-sdk-go/blob/v1.15.1/docs/apiendpoints/README.md which is missing the anchor that was originally in the README.md ie https://github.com/speakeasy-api/speakeasy-client-sdk-go/blob/v1.15.1/docs/apiendpoints/README.md#findapiendpoint

What did you expect to see?

That anchor's are retained when rendering the links in the readme section.

What did you see instead?

The anchors are removed and there for the links don't link to the same place as the original markdown links

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions