go.tools/godoc/static: indent with tabs.

LGTM=gri
R=golang-codereviews, gobot, gri
CC=golang-codereviews
https://golang.org/cl/120390043
This commit is contained in:
Oling Cat 2014-08-26 13:21:29 -07:00 committed by Robert Griesemer
parent 4abc8436bc
commit e14fb0e1ee
4 changed files with 24 additions and 24 deletions

View File

@ -4,12 +4,12 @@
</div> </div>
<div class="expanded"> <div class="expanded">
<p class="exampleHeading toggleButton"><span class="text">Internal call graph</span></p> <p class="exampleHeading toggleButton"><span class="text">Internal call graph</span></p>
<p> <p>
This viewer shows the portion of the internal call This viewer shows the portion of the internal call
graph of this package that is reachable from this function. graph of this package that is reachable from this function.
See the <a href='#pkg-callgraph'>package's call See the <a href='#pkg-callgraph'>package's call
graph</a> for more information. graph</a> for more information.
</p> </p>
<ul style="margin-left: 0.5in" id="callgraph-{{.Index}}" class="treeview"></ul> <ul style="margin-left: 0.5in" id="callgraph-{{.Index}}" class="treeview"></ul>
</div> </div>
</div> </div>

View File

@ -4,6 +4,6 @@
</div> </div>
<div class="expanded"> <div class="expanded">
<p class="exampleHeading toggleButton"><span class="text">Implements</span></p> <p class="exampleHeading toggleButton"><span class="text">Implements</span></p>
<div style="margin-left: 1in" id='implements-{{.Index}}'>...</div> <div style="margin-left: 1in" id='implements-{{.Index}}'>...</div>
</div> </div>
</div> </div>

View File

@ -4,6 +4,6 @@
</div> </div>
<div class="expanded"> <div class="expanded">
<p class="exampleHeading toggleButton"><span class="text">Method set</span></p> <p class="exampleHeading toggleButton"><span class="text">Method set</span></p>
<div style="margin-left: 1in" id='methodset-{{.Index}}'>...</div> <div style="margin-left: 1in" id='methodset-{{.Index}}'>...</div>
</div> </div>
</div> </div>

View File

@ -4,21 +4,21 @@
license that can be found in the LICENSE file. license that can be found in the LICENSE file.
--> -->
{{range $key, $val := .Idents}} {{range $key, $val := .Idents}}
{{if $val}} {{if $val}}
<h2 id="{{$key.Name}}">{{$key.Name}}</h2> <h2 id="{{$key.Name}}">{{$key.Name}}</h2>
{{range $val}} {{range $val}}
{{$pkg_html := pkgLink .Path | html}} {{$pkg_html := pkgLink .Path | html}}
{{if eq "Packages" $key.Name}} {{if eq "Packages" $key.Name}}
<a href="/{{$pkg_html}}">{{html .Path}}</a> <a href="/{{$pkg_html}}">{{html .Path}}</a>
{{else}} {{else}}
{{$doc_html := docLink .Path .Name| html}} {{$doc_html := docLink .Path .Name| html}}
<a href="/{{$pkg_html}}">{{html .Package}}</a>.<a href="{{$doc_html}}">{{.Name}}</a> <a href="/{{$pkg_html}}">{{html .Package}}</a>.<a href="{{$doc_html}}">{{.Name}}</a>
{{end}} {{end}}
{{if .Doc}} {{if .Doc}}
<p>{{comment_html .Doc}}</p> <p>{{comment_html .Doc}}</p>
{{else}} {{else}}
<p><em>No documentation available</em></p> <p><em>No documentation available</em></p>
{{end}} {{end}}
{{end}} {{end}}
{{end}} {{end}}
{{end}} {{end}}