From: Robert Griesemer Date: Tue, 27 Oct 2009 23:08:12 +0000 (-0700) Subject: godoc search bug fixes: X-Git-Tag: weekly.2009-11-06~190 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e3fd2e1ec6a540ce73d7fd8ebf06a2468d2fa584;p=gostls13.git godoc search bug fixes: - sort by package name (instead of package path) for results with snippets - sort line numbers in results without snippets - properly characterize package clauses - experiment with a leaner look: no underlines for top-level godoc links in the left side bar Still using colors to distinguish results. Next step. R=rsc http://go/go-review/1015016 --- diff --git a/doc/style.css b/doc/style.css index 84c29c077b..d2dd7c9022 100644 --- a/doc/style.css +++ b/doc/style.css @@ -167,6 +167,11 @@ span.highlight { /* ------------------------------------------------------------------------- */ /* Styles used by infoClassFmt */ +a.package { + text-decoration: none; + background-color: #FFFFFF; +} + a.import { text-decoration: none; background-color: #D8D8D8; diff --git a/lib/godoc/godoc.html b/lib/godoc/godoc.html index b77a1301bb..df8ee882a0 100644 --- a/lib/godoc/godoc.html +++ b/lib/godoc/godoc.html @@ -25,26 +25,26 @@