build: add Makefile target for auto-generating docs

This commit is contained in:
Jeff Malnick committed 2021-06-21 10:24:16 -07:00
1 parent 30b38ea89d
commit 2d2f825035
1 file changed
+4 -1
+4 -1
View File
@@ -41,7 +41,10 @@ all:
GOOS=windows go build -o $(BUILD_ALL_PATH)/terraform-provider-boundary_windows-amd64 main.go
GOOS=linux go build -o $(BUILD_ALL_PATH)/terraform-provider-boundary_linux-amd64 main.go
docs:
go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
rm-id-flag-from-docs:
find docs/ -name "*.md" -type f | xargs sed -i -e '/- \*\*id\*\*/d'
.PHONY: testacc tools
.PHONY: testacc tools docs