github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/docs/templates/constructor_args.tmpl (about)

     1  {{ define "constructor_args" }}
     2  <dl class="resources-properties">
     3    {{- range $params := . -}}
     4      <dt
     5          {{ if .OptionalFlag -}}class="property-optional" title="Optional"
     6          {{- else -}}class="property-required" title="Required"
     7          {{- end }}>
     8          <span>{{- htmlSafe .Name -}}</span>
     9          <span class="property-indicator"></span>
    10          <span class="property-type">{{- if eq .Type.Link "#" "" -}}{{- htmlSafe .Type.Name -}}{{- else -}}{{ template "linkify_constructor_args" .Type }}{{- end -}}</span>
    11      </dt>
    12      <dd>{{- .Comment -}}</dd>
    13    {{- end -}}
    14  </dl>
    15  {{ end }}