]> Cypherpunks repositories - gostls13.git/commit
godoc: link identifiers to declarations
authorRobert Griesemer <gri@golang.org>
Tue, 26 Mar 2013 18:14:30 +0000 (11:14 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 26 Mar 2013 18:14:30 +0000 (11:14 -0700)
commit7cfebf7b1d0e02663a18225c04ca02f28e4fd6df
treea8d8f8fc80c82da63f3d17b8decd722aacf92f5d
parent02b755081764bd1cc36e5e7af2d485f5bc9cabe3
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 #2063.

R=adg, r
CC=golang-dev
https://golang.org/cl/7883044
src/cmd/godoc/format.go
src/cmd/godoc/godoc.go
src/cmd/godoc/linkify.go [new file with mode: 0644]