GH workflow for docs generation #55
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
github_actions
Pull requests that update GitHub Actions code
Now we're generating the docs of the terraform repository by running go generate command manually.
https://github.com/EnterpriseDB/terraform-provider-biganimal/blob/main/main.go#L18 here is the go:generate definition that runs the tfplugindocs on the existing command, and it generated the examples and docs directories.
Ideally, we can have a GH workflow that would generate the docs automatically. Until we reach this point, a workflow that would show the diff, if the docs are not correctly generated would also be fine.
Either instead of tfplugindocs or in combination with tfplugindocs, https://terraform-docs.io/how-to/github-action/ this GH action may also be used. Please investigate further.
If you have an alternative solution suggestion, feel free to mention in this issue.
The text was updated successfully, but these errors were encountered: