* Remove leading and trailing whitespace in resource properties * Make tests pass * Add PULUMI_ACCEPT support to docs gen tests * Handle a couple more places Co-authored-by: Pat Gavlin <pat@pulumi.com>
16 lines
595 B
Cheetah
16 lines
595 B
Cheetah
{{ define "enums" }}
|
|
|
|
{{- range $lang, $enums := . }}
|
|
|
|
{{ print "{{% choosable language" }} {{ print $lang }} {{ print "%}}" }}
|
|
<dl class="tabular">
|
|
{{- range . -}}
|
|
<dt>{{- htmlSafe .DisplayName -}}</dt>
|
|
<dd>{{- htmlSafe .Value }}{{- if .Comment }}{{ print "{{% md %}}" -}}{{- htmlSafe .Comment -}}{{- print "{{% /md %}}" }}{{ end -}}{{- if .DeprecationMessage }}<p class="property-message">Deprecated: {{ print "{{% md %}}" -}}{{- htmlSafe .DeprecationMessage -}}{{- print "{{% /md %}}" -}}</p>{{- end -}}</dd>
|
|
{{- end -}}
|
|
</dl>
|
|
{{ print "{{% /choosable %}}" }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|