summaryrefslogtreecommitdiff
path: root/lib/godoc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/godoc')
-rw-r--r--lib/godoc/godoc.html4
-rw-r--r--lib/godoc/package.html5
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html
index 837f53c48..bd53f2615 100644
--- a/lib/godoc/godoc.html
+++ b/lib/godoc/godoc.html
@@ -33,7 +33,9 @@
<a href="/pkg/">Packages</a> <span class="sep">|</span>
<a href="/cmd/">Commands</a> <span class="sep">|</span>
<a href="/doc/go_spec.html">Specification</a>
+ {.section SearchBox}
<input id="search" type="search" name="q" value="{.section Query}{Query|html-esc}{.end}" class="{.section Query}{.or}inactive{.end}" placeholder="code search" results="0" />
+ {.end}
</form>
</div>
</div>
@@ -54,11 +56,9 @@
<span class="subtitle">{@|html-esc}</span>
{.end}
- <p>
<!-- The Table of Contents is automatically inserted in this <div>.
Do not delete this <div>. -->
<div id="nav"></div>
- </p>
<!-- Content is HTML-escaped elsewhere -->
{Content}
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index 4205f9315..cb3ffa2a7 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -91,6 +91,11 @@
</p>
{.end}
{.section Dirs}
+ <p class="detail">
+ Need more packages? The
+ <a href="http://godashboard.appspot.com/package">Package Dashboard</a>
+ provides a list of <a href="/cmd/goinstall/">goinstallable</a> packages.
+ </p>
{# DirList entries are numbers and strings - no need for FSet}
<h2 id="Subdirectories">Subdirectories</h2>
<p>