aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-11-02 22:44:01 -0800
committerRobert Griesemer <gri@golang.org>2009-11-02 22:44:01 -0800
commitbe56b95770dbeda5d5dfcd127209d7a687450de4 (patch)
treead85b16b2cb04329d35c1279076f3f0046e4efeb /lib
parent6e98b7f0b28dd7f52a4cbe8f69c25d33e53f09bc (diff)
downloadgo-be56b95770dbeda5d5dfcd127209d7a687450de4.tar.xz
- show recursive package directory structure in package pages
- removed some underbars in section headings for better looks - various minor tweaks R=rsc http://go/go-review/1018026
Diffstat (limited to 'lib')
-rw-r--r--lib/godoc/dirs.html8
-rw-r--r--lib/godoc/package.html16
-rw-r--r--lib/godoc/package.txt2
3 files changed, 15 insertions, 11 deletions
diff --git a/lib/godoc/dirs.html b/lib/godoc/dirs.html
index 23d66d5bcb..eef96b6953 100644
--- a/lib/godoc/dirs.html
+++ b/lib/godoc/dirs.html
@@ -1,6 +1,6 @@
-<table border="0" cellpadding="0" cellspacing="0">
-<tr><td><a href="{Path|html}">{Name|html}</a></td></tr>
-{.repeated section Subdirs}
- <tr><td></td><td>{@|dir}</td></tr>
+<table class="layout">
+<tr><td colspan="2"><a href="/pkg/{Path|html}">{Name|html}</a></td></tr>
+{.repeated section Dirs}
+ <tr><td width="25em"></td><td>{@|dir}</td></tr>
{.end}
</table>
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index f2980f2068..b3caa0d294 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -34,14 +34,14 @@
{.end}
{.section Funcs}
{.repeated section @}
- <h2>func <a href="{Decl|link}">{Name|html}</a></h2>
+ <h2>func <a href="{Decl|link}" class="noline">{Name|html}</a></h2>
<p><code>{Decl|html}</code></p>
{Doc|html-comment}
{.end}
{.end}
{.section Types}
{.repeated section @}
- <h2>type <a href="{Decl|link}">{Type.Name|html}</a></h2>
+ <h2>type <a href="{Decl|link}" class="noline">{Type.Name|html}</a></h2>
{Doc|html-comment}
<p><pre>{Decl|html}</pre></p>
{.repeated section Consts}
@@ -53,12 +53,12 @@
<pre>{Decl|html}</pre>
{.end}
{.repeated section Factories}
- <h3>func <a href="{Decl|link}">{Name|html}</a></h3>
+ <h3>func <a href="{Decl|link}" class="noline">{Name|html}</a></h3>
<p><code>{Decl|html}</code></p>
{Doc|html-comment}
{.end}
{.repeated section Methods}
- <h3>func ({Recv|html}) <a href="{Decl|link}">{Name|html}</a></h3>
+ <h3>func ({Recv|html}) <a href="{Decl|link}" class="noline">{Name|html}</a></h3>
<p><code>{Decl|html}</code></p>
{Doc|html-comment}
{.end}
@@ -72,8 +72,10 @@
{.end}
{.end}
{.section Dirs}
- <h2>Subdirectories</h2>
- {.repeated section @}
- <a href="{Name|html}">{Name|html}</a><br />
+ {.section Dirs}
+ <h2>Subdirectories</h2>
+ {.repeated section @}
+ {@|dir}
+ {.end}
{.end}
{.end}
diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt
index d8c3c31211..dfb0791ef9 100644
--- a/lib/godoc/package.txt
+++ b/lib/godoc/package.txt
@@ -69,6 +69,7 @@ BUGS
{.end}
{.end}
{.section Dirs}
+{.section Dirs}
SUBDIRECTORIES
@@ -76,3 +77,4 @@ SUBDIRECTORIES
{Name}
{.end}
{.end}
+{.end}