Skip to content

Commit b4af6da

Browse files
committed
Use in-tree plugin package by terraform-docs core
Signed-off-by: Khosrow Moossavi <[email protected]>
1 parent e016a3f commit b4af6da

File tree

6 files changed

+633
-78
lines changed

6 files changed

+633
-78
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
`tfdocs-format-template` is a minimal [terraform-docs] plugin that is built with
44
[plugin SDK] and is meant to be used as a template for implementing new plugin.
55
Most of the time you only need to modify and reorder the go template defined in
6-
`engine/sections.tmpl`.
6+
`sections.tmpl`.
77

88
## Requirements
99

1010
- [Go] 1.16+
11-
- [terraform-docs] v0.11+
11+
- [terraform-docs] v0.16+
1212

1313
Optionally for releasing:
1414

@@ -55,6 +55,6 @@ and `make install` do that,) but if you want to redistribute the plugin for othe
5555
people to use you have to cross-compile it (for example you can use [gox].)
5656

5757
[terraform-docs]: https://github.com/terraform-docs/terraform-docs
58-
[plugin SDK]: https://github.com/terraform-docs/plugin-sdk
58+
[plugin SDK]: https://github.com/terraform-docs/terraform-docs/tree/master/plugin
5959
[Go]: https://golang.org/
6060
[gox]: https://github.com/mitchellh/gox

engine/engine.go

-49
This file was deleted.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/terraform-docs/tfdocs-format-template
22

33
go 1.16
44

5-
require github.com/terraform-docs/plugin-sdk v0.1.1-0.20210302190742-d48efdc5f937
5+
require github.com/terraform-docs/terraform-docs v0.16.0

0 commit comments

Comments
 (0)