pulumi/pkg/codegen/docs/templates/index.tmpl
2021-02-07 19:31:05 +00:00

34 lines
908 B
Cheetah

---
title: "{{ .Title }}"
title_tag: "{{ .TitleTag }}"
meta_desc: "{{ .PackageDescription }}"
{{- if .Menu }}
menu:
reference:
parent: API Reference
{{- end }}
---
{{ htmlSafe "<!-- WARNING: this file was generated by" }} {{ .Tool }}. {{ htmlSafe "-->" }}
{{ htmlSafe "<!-- Do not edit by hand unless you're certain you know what you are doing! -->" }}
{{ htmlSafe .PackageDescription }}
<!--
This comment ensures that there is always a new-line between the
package description and the start of the headers. This comment
will not be included in the generated markdown.
-->
{{- if ne (len .Modules) 0 -}}
{{ template "index_modules" .Modules }}
{{ end }}
{{- if ne (len .Resources) 0 -}}
{{ template "index_resources" .Resources }}
{{ end }}
{{- if ne (len .Functions) 0 -}}
{{ template "index_functions" .Functions }}
{{ end }}
{{- template "package_details" .PackageDetails }}