docs: mention make check-helm-docs and make docs in the contributing guide

Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: : Michael Adam <obnox@samba.org>
signed-off-by: Travis Nielsen <tnielsen@redhat.com>
Co-authored-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
Michael AdamandTravis Nielsen committed 2023-09-01 18:17:02 +02:00
1 parent 04670d3f76
commit c8c97bb8a1
1 file changed
+4 -5
+4 -5
View File
@@ -35,9 +35,8 @@ When previewing, now you can navigate your browser to [http://127.0.0.1:8000/](h
Please make sure that your Python binary path is included in your `PATH`.
## Running helm-docs
[helm-docs](https://github.com/norwoodj/helm-docs) is a tool that generates the documentation for a helm chart automatically. If there are changes in the helm chart, you need to run helm-docs manually, and check in the resulting autogenerated md files at the path `/Documentation/Helm-Charts`
## Making docs
[helm-docs](https://github.com/norwoodj/helm-docs) is a tool that generates the documentation for a helm chart automatically. If there are changes in the helm chart, the developer needs to run `make docs` (to run helm-docs) and check in the resulting autogenerated files.
To make it easy to check locally for uncommitted changes generated by `make docs`, an additional `make` target exists: simply running `make check-docs` will run the docs auto-generation and will complain if this produces uncommitted changes to doc files. It is therefore a good habit to always run `make check-docs` locally before creating or updating a PR.
```console
make helm-docs
```