blob: 533762ab3147fa728da148a3ed0ab7afc76d3b82 [file] [log] [blame]
<!--
Copyright 2020 The Go Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
{{define "unit_doc"}}
<div class="UnitDoc">
<h2 class="UnitDoc-title" id="section-documentation">
<img height="25px" width="20px" src="/static/legacy/img/pkg-icon-doc_20x12.svg" alt="">Documentation
<a class="UnitDoc-idLink" href="#section-documentation">ΒΆ</a>
</h2>
{{template "unit_build_context" .}}
<div class="Documentation js-documentation">
{{if .DocBody.String}}
{{.DocBody}}
{{else}}
<div class="UnitDoc-emptySection">
<img src="/static/legacy/img/gopher-airplane.svg" alt="The Go Gopher"/>
<p>There is no documentation for this package.</p>
</div>
{{end}}
</div>
</div>
{{end}}