Quickstart: Helm Chart Documentation Generator
Prerequisites​
Install the required CLI tools:
brew install helm-docs yq helm
Or via Go:
go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest
go install github.com/mikefarah/yq/v4@latest
Verify:
helm-docs --version # v1.14+
yq --version # v4+
helm version # v3+
Generate all chart docs​
make docs-helm-charts
This single command:
- Fetches the latest published version from the OCI registry
- Runs
helm-docsto regenerate values tables fromvalues.yaml - Enriches each chart's source
README.mdwith usage examples - Generates Docusaurus pages in
docs/docs/installation/helm-charts/
Override the chart version​
If you're offline or want to pin a specific version:
make docs-helm-charts CHART_VERSION=0.2.37
Validate the output​
Run the full end-to-end validation (generates docs, builds Docusaurus, checks for RC patterns):
make docs-helm-validate
Or run the steps individually:
# Generate docs
make docs-helm-charts
# Build Docusaurus (verifies MDX compilation, broken links, sidebar)
make docs-build
# Check for RC version leakage
grep -rE '-(rc|alpha|beta|pre)\.' docs/docs/installation/helm-charts/ && echo "FAIL" || echo "PASS"
What gets generated​
For each chart under charts/, two files are produced:
| Output | Location | Purpose |
|---|---|---|
| Source README | charts/<parent>/charts/<chart>/README.md | GitHub-browsable reference with usage examples |
| Docusaurus page | docs/docs/installation/helm-charts/<parent>/<chart>.md | Documentation site page with frontmatter |
Generated doc sections​
Each generated chart doc includes:
- Auto-generated marker — warning not to edit manually
- Chart metadata — name, description, published version
- Quick Start —
helm installandhelm upgradecommands - Customizing Values —
--setand-f values.yamlexamples - Reading the Values Table — explains Key, Type, Default, Description columns
- Values — full parameter table (from
helm-docs) - Dependencies — subchart table with versions and conditions (parent charts only)