diff --git a/docs/developers.md b/docs/developers.md index ac6423115..1e95c7c82 100644 --- a/docs/developers.md +++ b/docs/developers.md @@ -34,8 +34,8 @@ To run Helm locally, you can run `bin/helm`. ### Man pages -Man pages and Markdown documentation are already pre-built in `docs/`. You may -regenerate documentation using `make docs`. +Man pages and Markdown documentation are not pre-built in `docs/` but you can +generate the documentation using `make docs`. To expose the Helm man pages to your `man` client, you can put the files in your `$MANPATH`: diff --git a/scripts/update-docs.sh b/scripts/update-docs.sh index d3018be50..6d85e13a3 100755 --- a/scripts/update-docs.sh +++ b/scripts/update-docs.sh @@ -34,7 +34,8 @@ export HELM_NO_PLUGINS=1 # Reset Helm Home because it is used in the generation of docs. OLD_HELM_HOME=${HELM_HOME:-} HELM_HOME="$HOME/.helm" -bin/helm init --client-only +bin/helm init +mkdir -p docs/helm mkdir -p ${KUBE_TEMP}/docs/helm bin/helm docs --dir ${KUBE_TEMP}/docs/helm HELM_HOME=$OLD_HELM_HOME diff --git a/scripts/verify-docs.sh b/scripts/verify-docs.sh index b176b036e..2a87fe5e1 100755 --- a/scripts/verify-docs.sh +++ b/scripts/verify-docs.sh @@ -34,7 +34,7 @@ export HELM_NO_PLUGINS=1 # Reset Helm Home because it is used in the generation of docs. OLD_HELM_HOME=${HELM_HOME:-} HELM_HOME="$HOME/.helm" -bin/helm init --client-only +bin/helm init mkdir -p ${KUBE_TEMP}/docs/helm bin/helm docs --dir ${KUBE_TEMP}/docs/helm HELM_HOME=$OLD_HELM_HOME