f49317d7e4
Add some generated API documentation using https://github.com/elastic/crd-ref-docs which is now packaged in the codegen image.
20 lines
372 B
Smarty
20 lines
372 B
Smarty
{{- define "gvDetails" -}}
|
|
{{- $gv := . -}}
|
|
[id="{{ asciidocGroupVersionID $gv | asciidocRenderAnchorID }}"]
|
|
=== {{ $gv.GroupVersionString }}
|
|
|
|
{{ $gv.Doc }}
|
|
|
|
{{- if $gv.Kinds }}
|
|
.Resource Types
|
|
{{- range $gv.SortedKinds }}
|
|
- {{ $gv.TypeForKind . | asciidocRenderTypeLink }}
|
|
{{- end }}
|
|
{{ end }}
|
|
|
|
{{ range $gv.SortedTypes }}
|
|
{{ template "type" . }}
|
|
{{ end }}
|
|
|
|
{{- end -}}
|