mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-12 13:43:10 +01:00
Switch to building documentation in markdown, avoiding the markdown+html hybrid we have. Closes #250 Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
20 lines
310 B
Smarty
20 lines
310 B
Smarty
{{- define "gvDetails" -}}
|
|
{{- $gv := . -}}
|
|
|
|
## {{ $gv.GroupVersionString }}
|
|
|
|
{{ $gv.Doc }}
|
|
|
|
{{- if $gv.Kinds }}
|
|
### Resource Types
|
|
{{- range $gv.SortedKinds }}
|
|
- {{ $gv.TypeForKind . | markdownRenderTypeLink }}
|
|
{{- end }}
|
|
{{ end }}
|
|
|
|
{{ range $gv.SortedTypes }}
|
|
{{ template "type" . }}
|
|
{{ end }}
|
|
|
|
{{- end -}}
|