From af872b2ba4b77325c383e698cdf81ee01c8ab66a Mon Sep 17 00:00:00 2001
From: Robert Griesemer
Date: Mon, 16 Nov 2009 15:25:16 -0800
Subject: [PATCH] Add id attribute to h2 and h3 tags so that they exist when
referring to generated pages even if Javascript has not introduced them yet.
R=rsc
https://golang.org/cl/154167
---
lib/godoc/package.html | 16 ++++++++--------
lib/godoc/search.html | 8 ++++----
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index 29b62dfea8..99e588cfd5 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -23,14 +23,14 @@
{.end}
{.end}
{.section Consts}
- Constants
+ Constants
{.repeated section @}
{Doc|html-comment}
{Decl|html}
{.end}
{.end}
{.section Vars}
- Variables
+ Variables
{.repeated section @}
{Doc|html-comment}
{Decl|html}
@@ -38,14 +38,14 @@
{.end}
{.section Funcs}
{.repeated section @}
-
+
{Decl|html}
{Doc|html-comment}
{.end}
{.end}
{.section Types}
{.repeated section @}
-
+
{Doc|html-comment}
{Decl|html}
{.repeated section Consts}
@@ -57,26 +57,26 @@
{Decl|html}
{.end}
{.repeated section Factories}
-
+
{Decl|html}
{Doc|html-comment}
{.end}
{.repeated section Methods}
-
+
{Decl|html}
{Doc|html-comment}
{.end}
{.end}
{.end}
{.section Bugs}
- Bugs
+ Bugs
{.repeated section @}
{@|html-comment}
{.end}
{.end}
{.end}
{.section Dirs}
- Subdirectories
+ Subdirectories
diff --git a/lib/godoc/search.html b/lib/godoc/search.html
index 43904213e6..d82e52e8af 100644
--- a/lib/godoc/search.html
+++ b/lib/godoc/search.html
@@ -20,9 +20,9 @@
{.end}
{.section Hit}
{.section Decls}
- Package-level declarations
+ Package-level declarations
{.repeated section @}
-
+
{.repeated section Files}
{.repeated section Groups}
{.repeated section Infos}
@@ -34,9 +34,9 @@
{.end}
{.end}
{.section Others}
- Local declarations and uses
+ Local declarations and uses
{.repeated section @}
-
+
{.repeated section Files}
{File.Path|html}