mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 04:48:33 +07:00
feat: Add support for .terraform-docs.yml config file (#272)
* Add support for .terraform-docs.yml config file * add config reader * add usage documentation and reference guide * typo * update docs
This commit is contained in:
15
examples/.terraform-docs.yml
Normal file
15
examples/.terraform-docs.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
formatter: markdown table
|
||||
header-from: doc.txt
|
||||
sections:
|
||||
hide-all: true
|
||||
show:
|
||||
- header
|
||||
- inputs
|
||||
- providers
|
||||
sort:
|
||||
enabled: true
|
||||
by:
|
||||
- required
|
||||
settings:
|
||||
indent: 4
|
||||
escape: false
|
||||
Reference in New Issue
Block a user