From c8c97bb8a1df56438d7672cc56623b1a1e93d8dc Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 30 Aug 2023 16:10:46 +0200 Subject: [PATCH] docs: mention `make check-helm-docs` and `make docs` in the contributing guide Signed-off-by: Michael Adam Co-authored-by: : Michael Adam signed-off-by: Travis Nielsen Co-authored-by: Travis Nielsen --- Documentation/Contributing/documentation.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/Contributing/documentation.md b/Documentation/Contributing/documentation.md index 086ad74e3..aa68f94c2 100644 --- a/Documentation/Contributing/documentation.md +++ b/Documentation/Contributing/documentation.md @@ -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 -```