3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 13:03:21 +00:00
mastodon-chart-mirror/.pre-commit-config.yaml
2023-07-14 14:20:20 +02:00

16 lines
596 B
YAML

repos:
- repo: https://github.com/norwoodj/helm-docs
rev: v1.2.0
hooks:
- id: helm-docs
args:
# Make the tool search for charts only under the `example-charts` directory
- --chart-search-root=example-charts
# The `./` makes it relative to the chart-search-root set above
- --template-files=./_templates.gotmpl
# Repeating the flag adds this to the list, now [./_templates.gotmpl, README.md.gotmpl]
# A base filename makes it relative to each chart directory found
- --template-files=README.md.gotmpl