pulumi/pkg/codegen/docs/templates/package_details.tmpl

18 lines
485 B
Cheetah

{{ define "package_details" }}
<h2 id="package-details">Package Details</h2>
<dl class="package-details">
<dt>Repository</dt>
<dd><a href="{{ htmlSafe .Repository }}">{{ htmlSafe .DisplayName }} {{ htmlSafe .RepositoryName }}</a></dd>
<dt>License</dt>
<dd>{{ htmlSafe .License }}</dd>
{{- if ne .Notes "" }}
<dt>Notes</dt>
<dd>{{ markdownify .Notes }}</dd>
{{- end }}
{{- if ne .Version "" }}
<dt>Version</dt>
<dd>{{ htmlSafe .Version }}</dd>
{{- end }}
</dl>
{{ end }}