hashicorp / hashicorp/terraform-plugin-docs

please tell me default templates

Open
#111 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
263
Forks
84
Avg merge
3d 6h
Merged PRs (30d)
2

Description

## Background
I have created some terraform provider,
and it is need to create document so using this and modify but I have a hard time reproducing default.

I have copy and paste from [template.go](https://github.com/hashicorp/terraform-plugin-docs/blob/main/internal/provider/template.go) but something wrong...for example, not output Example Usage on index.md.
(What is `{{ if .HasExample -}}` ...?)

## I need...
- how to reproduce default
- default templates on `(this repo)/templates/*`
- documentation special variables/functions

Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.