mirror of https://github.com/golang/go.git
godoc: fix local link for factory functions
- fix suggested by rodrigo.moraes Fixes #1755. R=rsc CC=golang-dev https://golang.org/cl/4977057
This commit is contained in:
parent
7df4322114
commit
72dcab1c40
|
|
@ -63,7 +63,7 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
{{range .Factories}}
|
{{range .Factories}}
|
||||||
{{$name_html := html .Name}}
|
{{$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>
|
<p><code>{{node_html .Decl $.FSet}}</code></p>
|
||||||
{{comment_html .Doc}}
|
{{comment_html .Doc}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue