diff options
author | Robert Griesemer <gri@golang.org> | 2010-03-19 15:20:20 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-03-19 15:20:20 -0700 |
commit | 63d1af5180c31e57adc9deeebe9ff39e5064c464 (patch) | |
tree | 81363d86792f0404092c72112d9d8847e521e623 /lib | |
parent | 4f9177829a49864a90ddd585c5f088522c44f60a (diff) | |
download | go-63d1af5180c31e57adc9deeebe9ff39e5064c464.tar.gz |
godoc: show (some) line numbers for remote search
- show build version
- use build goroot when possible
R=rsc
CC=golang-dev
http://codereview.appspot.com/656043
Diffstat (limited to 'lib')
-rw-r--r-- | lib/godoc/godoc.html | 1 | ||||
-rw-r--r-- | lib/godoc/search.txt | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html index 49902ff10..a078b11d7 100644 --- a/lib/godoc/godoc.html +++ b/lib/godoc/godoc.html @@ -117,6 +117,7 @@ <li class="blank"> </li> <li class="navhead">Last update</li> <li>{Timestamp|time}</li> + <li>Build version {Version|html}</li> </ul> </div> diff --git a/lib/godoc/search.txt b/lib/godoc/search.txt index 9ae98d5b4..46f7ae478 100644 --- a/lib/godoc/search.txt +++ b/lib/godoc/search.txt @@ -21,7 +21,7 @@ package {Pak.Name} {.repeated section Files} {.repeated section Groups} {.repeated section Infos} - {File.Path|url-src} + {File.Path|url-src}:{@|infoLine} {.end} {.end} {.end} @@ -36,7 +36,7 @@ package {Pak.Name} {.repeated section Files} {.repeated section Groups} {.repeated section Infos} - {File.Path|url-src} + {File.Path|url-src}:{@|infoLine} {.end} {.end} {.end} |