1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:04:41 -07:00

godoc: add separators between quick reference topics

R=bradfitz, dangabrad
CC=golang-dev
https://golang.org/cl/3433042
This commit is contained in:
Andrew Gerrand 2010-12-03 14:37:55 +11:00
parent b0b37a6295
commit 09e4d860bc
2 changed files with 6 additions and 3 deletions

View File

@ -92,6 +92,9 @@ h1#title {
#nav-main .quickref { #nav-main .quickref {
color: #444; color: #444;
} }
#nav-main .quickref .sep {
color: #999;
}
#search { #search {
width: 100px; width: 100px;
margin-left: 0.5em; margin-left: 0.5em;

View File

@ -25,13 +25,13 @@
<form method="GET" action="/search"> <form method="GET" action="/search">
{.section PkgRoots} {.section PkgRoots}
{.repeated 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} {.end}
{.or} {.or}
References: References:
{.end} {.end}
<a href="/pkg/">Packages</a> <a href="/pkg/">Packages</a> <span class="sep">|</span>
<a href="/cmd/">Commands</a> <a href="/cmd/">Commands</a> <span class="sep">|</span>
<a href="/doc/go_spec.html">Specification</a> <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}" /> <input id="search" type="text" name="q" value="{.section Query}{Query|html-esc}{.or}code search{.end}" class="{.section Query}{.or}inactive{.end}" />
</form> </form>