From: Robert Griesemer Date: Fri, 19 Feb 2010 01:40:50 +0000 (-0800) Subject: godoc: path cleanups, fixed a race condition, initial support for a menu on pages X-Git-Tag: weekly.2010-02-23~47 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d17ffb9753185ea76e4f89a4bad0474f7422e724;p=gostls13.git godoc: path cleanups, fixed a race condition, initial support for a menu on pages R=rsc CC=adg, golang-dev https://golang.org/cl/215050 --- diff --git a/doc/style.css b/doc/style.css index fb90185070..25ea6c3450 100644 --- a/doc/style.css +++ b/doc/style.css @@ -198,6 +198,19 @@ span.highlight { background-color: #ffffa0; } +/* same style as for gettingStarted */ +#menu { + margin-top: 1.5em; + margin-left: 1.75em; + margin-right: 0em; + float: right; + background-color: #fffff0; + padding-left: 1em; + padding-right: 1em; + padding-bottom: 0.75em; + border: 2px solid #ba9836; +} + /* ------------------------------------------------------------------------- */ /* Styles for the frontpage */ diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html index 944643a34f..b404857ebc 100644 --- a/lib/godoc/godoc.html +++ b/lib/godoc/godoc.html @@ -120,6 +120,13 @@
+ + {.section Menu} + + {.end} +

{Title|html}