summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-03-12 18:16:21 -0800
committerRobert Griesemer <gri@golang.org>2010-03-12 18:16:21 -0800
commit92804ce8eff107e68f528c8651c7d709c9e6954a (patch)
tree70328363f7251541cee6064414a49b191bc5cdc3 /lib
parent71cf708962c69b2d38de9171cee25c1359112bc1 (diff)
downloadgolang-92804ce8eff107e68f528c8651c7d709c9e6954a.tar.gz
godoc: support for multiple packages in a directory
- smartly select the "right" package - provide a list of other packages R=rsc CC=golang-dev http://codereview.appspot.com/466042
Diffstat (limited to 'lib')
-rw-r--r--lib/godoc/package.html8
-rw-r--r--lib/godoc/package.txt8
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index c0cd18f31..d0a5970b3 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -80,6 +80,14 @@
{.end}
{.end}
{.end}
+{.section PList}
+ <h2>Other packages</h2>
+ <p>
+ {.repeated section @}
+ <a href="?p={@|html}">{@|html}</a><br />
+ {.end}
+ </p>
+{.end}
{.section Dirs}
<h2 id="Subdirectories">Subdirectories</h2>
<p>
diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt
index b9203ff21..124771edd 100644
--- a/lib/godoc/package.txt
+++ b/lib/godoc/package.txt
@@ -75,6 +75,14 @@ BUGS
{.end}
{.end}
{.end}
+{.section PList}
+
+OTHER PACKAGES
+
+{.repeated section @}
+{@}
+{.end}
+{.end}
{.section Dirs}
{.section Dirs}