Skip to content

Commit

Permalink
build: add Makefile target for auto-generating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
malnick committed Jun 21, 2021
1 parent 30b38ea commit 2d2f825
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2d2f825

Please sign in to comment.