godoc: link identifiers to declarations
The changes are almost completely self-contained
in the new file linkify.go. The other changes are
minimal and should not disturb the currently
working godoc, in anticipation of Go 1.1.
To disable the feature in case of problems, set
-links=false.
Fixes issue 2063.
https://codereview.appspot.com/7883044/diff/30001/src/cmd/godoc/format.go File src/cmd/godoc/format.go (right): https://codereview.appspot.com/7883044/diff/30001/src/cmd/godoc/format.go#newcode230 src/cmd/godoc/format.go:230: // of token sel in the Go src text ...
12 years, 1 month ago
(2013-03-26 17:54:34 UTC)
#3
*** Submitted as https://code.google.com/p/go/source/detail?r=495b88abe2b2 *** godoc: link identifiers to declarations The changes are almost completely ...
12 years, 1 month ago
(2013-03-26 18:14:33 UTC)
#6
https://codereview.appspot.com/7883044/diff/43001/src/cmd/godoc/linkify.go File src/cmd/godoc/linkify.go (right): https://codereview.appspot.com/7883044/diff/43001/src/cmd/godoc/linkify.go#newcode170 src/cmd/godoc/linkify.go:170: var predeclared = map[string]bool{ This map is already defined ...
12 years, 1 month ago
(2013-03-27 03:38:50 UTC)
#7
Issue 7883044: code review 7883044: godoc: link identifiers to declarations
(Closed)
Created 12 years, 1 month ago by gri
Modified 12 years, 1 month ago
Reviewers: adg
Base URL:
Comments: 10