summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-03-19 15:20:20 -0700
committerRobert Griesemer <gri@golang.org>2010-03-19 15:20:20 -0700
commit9b164deec034c92082ea11f907c0e0e47668309e (patch)
tree81363d86792f0404092c72112d9d8847e521e623 /lib
parentdb1a98562d847585493114ed45d706e495e4b845 (diff)
downloadgolang-9b164deec034c92082ea11f907c0e0e47668309e.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.html1
-rw-r--r--lib/godoc/search.txt4
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">&nbsp;</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}