Merge pull request #5458 from hickeyma/fix-make-docs-target

Fix the docs targets
pull/5560/head
Matthew Fisher 5 years ago committed by GitHub
commit 9ac1b756e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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`:

@ -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

@ -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

Loading…
Cancel
Save