pulumi-hugo-cn/themes/default/layouts/shortcodes/resource-docs-alert.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
927 B
HTML
Raw Permalink Normal View History

{{ $providerName := .Get 0 }}
{{ $packagePath := printf "/docs/reference/pkg/%s" $providerName }}
{{- /* Not all providers have resource docs, so we check to make sure they do before trying to link to them. */ -}}
{{ if fileExists (printf "%s/_index.md" $packagePath) }}
2023-05-18 11:36:01 -07:00
<div class="note note-info">
<div class="icon-and-line">
<i class="fas fa-info-circle"></i>
<div class="line"></div>
</div>
2023-05-18 11:36:01 -07:00
<div class="content">
<p>
This page documents the language specification for the
{{ $providerName }}
package. If you're looking for help working with the inputs, outputs, or functions of {{ $providerName }} resources in a Pulumi program,
<a href="{{ relref . $packagePath }}">please see the resource documentation</a> for examples and API reference.
</p>
</div>
</div>
{{ end }}