aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2011-09-08 10:37:26 -0700
committerRobert Griesemer <gri@golang.org>2011-09-08 10:37:26 -0700
commit72dcab1c40f5160e6bbcc5f26887c8f08b2f5d28 (patch)
treede5eda740699ae72250a41d766729e47b819122b /lib
parent7df4322114561f11040779c2a3be270da73f947e (diff)
downloadgo-72dcab1c40f5160e6bbcc5f26887c8f08b2f5d28.tar.xz
godoc: fix local link for factory functions
- fix suggested by rodrigo.moraes Fixes #1755. R=rsc CC=golang-dev https://golang.org/cl/4977057
Diffstat (limited to 'lib')
-rw-r--r--lib/godoc/package.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index 7a89d780c2..559fe2dddd 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -63,7 +63,7 @@
{{end}}
{{range .Factories}}
{{$name_html := html .Name}}
- <h3 id="{{$tname_html}}.{{$name_html}}">func <a href="/{{posLink_url .Decl $.FSet}}">{{$name_html}}</a></h3>
+ <h3 id="{{$name_html}}">func <a href="/{{posLink_url .Decl $.FSet}}">{{$name_html}}</a></h3>
<p><code>{{node_html .Decl $.FSet}}</code></p>
{{comment_html .Doc}}
{{end}}