* 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>
15 lines
595 B
Cheetah
15 lines
595 B
Cheetah
{{ define "constructor_args" }}
|
|
<dl class="resources-properties">
|
|
{{- range $params := . -}}
|
|
<dt
|
|
{{ if .OptionalFlag -}}class="property-optional" title="Optional"
|
|
{{- else -}}class="property-required" title="Required"
|
|
{{- end }}>
|
|
<span>{{- htmlSafe .Name -}}</span>
|
|
<span class="property-indicator"></span>
|
|
<span class="property-type">{{- if eq .Type.Link "#" "" -}}{{- htmlSafe .Type.Name -}}{{- else -}}{{ template "linkify_constructor_args" .Type }}{{- end -}}</span>
|
|
</dt>
|
|
<dd>{{- .Comment -}}</dd>
|
|
{{- end -}}
|
|
</dl>
|
|
{{ end }}
|