Files
terraform-docs/.editorconfig
Simon Clifford aa1e6bbf59 Add support for footer docs
Enables a footer to be appended to the end of a generated document
sourced from tf files or documents in the same way as the header

Adds the `footer-from` field to the config yml
Adds the `--footer-from` flag to the cli

Signed-off-by: Simon Clifford <siclifford@gmail.com>
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-03-15 14:51:00 -04:00

45 lines
740 B
INI

# http://editorconfig.org
# this file is the top-most editorconfig file
root = true
# all files
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
[*.go]
indent_style = tab
indent_size = 4
[*.md]
trim_trailing_whitespace = true
[examples/doc.{adoc,md,tf,txt};examples/footer.md]
trim_trailing_whitespace = false
insert_final_newline = false
[*.{golden,tmpl}]
trim_trailing_whitespace = false
insert_final_newline = false
[*.expected]
trim_trailing_whitespace = false
insert_final_newline = false
[*.{yaml,yml}]
indent_size = 2
[*.tf]
trim_trailing_whitespace = false
[**/inputs-crlf/variables.tf]
end_of_line = crlf
[Makefile]
indent_style = tab