github.com/argoproj-labs/argocd-operator@v0.10.0/docs/template/pkg.tpl (about)

     1  {{ define "packages" }}
     2  
     3  {{ with .packages}}
     4  <p>Packages:</p>
     5  <ul>
     6      {{ range . }}
     7      <li>
     8          <a href="#{{- packageAnchorID . -}}">{{ packageDisplayName . }}</a>
     9      </li>
    10      {{ end }}
    11  </ul>
    12  {{ end}}
    13  
    14  {{ range .packages }}
    15      <h2 id="{{- packageAnchorID . -}}">
    16          {{- packageDisplayName . -}}
    17      </h2>
    18  
    19      {{ with (index .GoPackages 0 )}}
    20          {{ with .DocComments }}
    21          <p>
    22              {{ safe (renderComments .) }}
    23          </p>
    24          {{ end }}
    25      {{ end }}
    26  
    27      Resource Types:
    28      <ul>
    29      {{- range (visibleTypes (sortedTypes .Types)) -}}
    30          {{ if isExportedType . -}}
    31          <li>
    32              <a href="{{ linkForType . }}">{{ typeDisplayName . }}</a>
    33          </li>
    34          {{- end }}
    35      {{- end -}}
    36      </ul>
    37  
    38      {{ range (visibleTypes (sortedTypes .Types))}}
    39          {{ template "type" .  }}
    40      {{ end }}
    41      <hr/>
    42  {{ end }}
    43  
    44  <p><em>
    45      Generated with <code>gen-crd-api-reference-docs</code>
    46      {{ with .gitCommit }} on git commit <code>{{ . }}</code>{{end}}.
    47  </em></p>
    48  
    49  {{ end }}