Commit Graph

11 Commits

Author SHA1 Message Date
Khosrow Moossavi
19194525e4 ci: enhance release workflows
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2024-06-04 11:28:09 -04:00
Khosrow Moossavi
2b150c1876 Enable site deploy preview for pull requests
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-03-04 17:28:21 -05:00
Khosrow Moossavi
aecd044ee0 Use goreleaser for release workflow and tasks
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-02-04 12:58:24 -05:00
Khosrow Moossavi
54fc067bf4 Add support for plugin execution
Plugin can be developed on top of terraform-docs/plugin-sdk and made
available to terraform-docs core project in:

- ~/.tfdocs.d/plugins/ or
- ./.tfdocs.d/plugins/ (this takes precedence if exists)

Refer to the following for more details and examples:

- https://github.com/terraform-docs/plugin-sdk
- https://github.com/terraform-docs/tfdocs-format-template

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2021-02-02 18:27:04 -05:00
Khosrow Moossavi
fbbf01e451 Read header from .adoc, .md and .txt file as well (#252)
* Allow reading header from a markdown file

* wording

* add supports for .adoc and .txt as well

* wording

* revert docs

Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-04-29 15:30:48 -04:00
Khosrow Moossavi
5a05b95349 Add codecov report and badge (#209) 2020-02-28 10:44:14 -05:00
Thomas Alton
b8da8c5020 feat: Support Terraform 0.12.x configuration (#113)
* Support 0.12 configuration

* Move code out of GOPATH for CircleCI

* cleanup

* Rename 'variables' back to 'input' just for now

* Normalizing 'print.s.Settings' usage

* Normalize settings continued

* Remove '--providers' functionality for now

* Adjust 'commands' based on moarta's changes

* Adjust 'pkg/doc' based on moarta's changes

* Adjust 'pkg/print/json' based on moarta's changes

* Fix json tests

* don't trim whitespaces from .tf files

* Adjust 'pkg/print/pretty' based on moarta's changes

* Fix pretty tests

* don't trim whitespaces from .golden files

* Show 'n/a' for empty description for 'pretty'

* Show 'any' if type of input variable is missing

* Adjust 'pkg/print/markdown/document' based on moarta's changes

* Fix document tests

* move back vendor files

* Adjust 'pkg/print/markdown/table' based on moarta's changes

* fix lint issue

* Fix table tests

* figure out input type based on default value if tpye not explicitly defined

* don't escape ( ) [ ] { }, as they don't cause any issue

Authored-by: Thomas Alton <thomas.alton@gmail.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2019-12-20 15:07:29 -05:00
Martin Etmajer
66f8584b43 Complete CircleCI config. Add vendor directory. (#58) 2018-09-21 09:06:32 +02:00
Martin Etmajer
f9d040ce56 Add dependency management using go deps. 2018-09-21 08:49:52 +02:00
Martin Etmajer
9caa5ecaae Add Makefile header and build target. 2018-09-21 08:49:52 +02:00
Amir Abushareb
47e88516c6 add dist 2016-06-20 17:38:53 +03:00