diff --git a/godoc/static/package.html b/godoc/static/package.html index 067cfc2ae8..674196dee2 100644 --- a/godoc/static/package.html +++ b/godoc/static/package.html @@ -168,8 +168,8 @@
{{node_html $ .Decl true}}
+ {{comment_html .Doc}}
{{example_html $ .Name}}
{{callgraph_html $ "" .Name}}
@@ -202,8 +202,8 @@
{{node_html $ .Decl true}}
+ {{comment_html .Doc}}
{{example_html $ .Name}}
{{callgraph_html $ "" .Name}}
{{end}}
@@ -213,8 +213,8 @@
{{node_html $ .Decl true}}
+ {{comment_html .Doc}}
{{$name := printf "%s_%s" $tname .Name}}
{{example_html $ $name}}
{{callgraph_html $ .Recv .Name}}
diff --git a/godoc/static/static.go b/godoc/static/static.go
index 74338bf7e2..0ee57620b4 100644
--- a/godoc/static/static.go
+++ b/godoc/static/static.go
@@ -1778,8 +1778,8 @@ function cgAddChild(tree, ul, cgn) {
{{node_html $ .Decl true}}
+ {{comment_html .Doc}}
{{example_html $ .Name}}
{{callgraph_html $ "" .Name}}
@@ -1812,8 +1812,8 @@ function cgAddChild(tree, ul, cgn) {
{{node_html $ .Decl true}}
+ {{comment_html .Doc}}
{{example_html $ .Name}}
{{callgraph_html $ "" .Name}}
{{end}}
@@ -1823,8 +1823,8 @@ function cgAddChild(tree, ul, cgn) {
{{node_html $ .Decl true}}
+ {{comment_html .Doc}}
{{$name := printf "%s_%s" $tname .Name}}
{{example_html $ $name}}
{{callgraph_html $ .Recv .Name}}