go/doc: cross-package doc links don't work #56683
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
If I change the doc string of
(*bytes.Buffer).ReadFrom
from containingio.EOF
to containing[io.EOF]
, I expect godoc to render that with an appropriate clickable link to the documentation forio.EOF
.It renders a link but the link doesn't work. When running godoc locally on :6060, the link is
http://localhost:6060/io#EOF
when it should behttp://localhost:6060/pkg/io#EOF
.This page (the Doc links section) says it should work. In fact, this is the exact example shown for this feature.
Intra-package doc links seem to work.
@rsc
The text was updated successfully, but these errors were encountered: