pulumi/pkg/codegen/docs/templates/index.tmpl

32 lines
866 B
Cheetah

---
title: "{{ .Title }}"
title_tag: "{{ .TitleTag }}"
meta_desc: "{{ .PackageDescription }}"
layout: api
no_edit_this_page: true
---
{{ 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 }}