Skip to content

x/pkgsite: document links extraction feature #60175

Open
@seankhliao

Description

@seankhliao

What is the URL of the page with the issue?

https://pkg.go.dev/modernc.org/fsm@v1.1.2

What did you do?

See a Links section in the package godoc https://gitlab.com/cznic/fsm/-/blob/v1.1.2/nfa.go#L20

What did you expect to see?

Links section in the rendered documentation

What did you see instead?

No links and no sidebar

Additional Info

This was reported in slack: https://gophers.slack.com/archives/C0166L4QGJV/p1682761965985609

CL 274958 added support for extracting links to show in the sidebar as part of #42968 .
But it's not really documented anywhere
and it silently drops the entire section if the format doesn't match

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.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