]> Cypherpunks repositories - gostls13.git/commitdiff
godoc: add separators between quick reference topics
authorAndrew Gerrand <adg@golang.org>
Fri, 3 Dec 2010 03:37:55 +0000 (14:37 +1100)
committerAndrew Gerrand <adg@golang.org>
Fri, 3 Dec 2010 03:37:55 +0000 (14:37 +1100)
R=bradfitz, dangabrad
CC=golang-dev
https://golang.org/cl/3433042

doc/all.css
lib/godoc/godoc.html

index a0af424fa207af66beff867481a866c5a275ce4f..92be26c31ed3189c27100d3b4e064bd623d07b40 100644 (file)
@@ -92,6 +92,9 @@ h1#title {
 #nav-main .quickref {
   color: #444;
 }
+#nav-main .quickref .sep {
+  color: #999;
+}
 #search {
   width: 100px;
   margin-left: 0.5em;
index b6f77fcdb3359f541ed4fe06421e6ffe57bb40d8..f1d9c2ad9c6b61cfcb1d4720417f5103e704d452 100644 (file)
         <form method="GET" action="/search">
         {.section PkgRoots}
         {.repeated section PkgRoots}
-        <a href="/pkg/{@|html-esc}">{@|html-esc}</a>
+        <a href="/pkg/{@|html-esc}">{@|html-esc}</a> <span class="sep">|</span>
         {.end}
         {.or}
         References:
         {.end}
-        <a href="/pkg/">Packages</a>
-        <a href="/cmd/">Commands</a>
+        <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>
         <input id="search" type="text" name="q" value="{.section Query}{Query|html-esc}{.or}code search{.end}" class="{.section Query}{.or}inactive{.end}" />
         </form>