You've already forked helm-gitea
generate readme Parameters from values.yaml (#323)
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/323 Reviewed-by: luhahn <luhahn@noreply.gitea.io> Reviewed-by: justusbunsi <justusbunsi@noreply.gitea.io> Co-authored-by: cnfatal <cnfatal@noreply.gitea.io> Co-committed-by: cnfatal <cnfatal@noreply.gitea.io>
This commit is contained in:
15
Makefile
Normal file
15
Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
readme: helm-doc
|
||||
readme-generator -v values.yaml -r README.md
|
||||
markdownlint *.md -f
|
||||
|
||||
.PHONY: helm-doc
|
||||
helm-doc:
|
||||
ifeq (, $(shell which readme-generator))
|
||||
@{ \
|
||||
set -e ;\
|
||||
echo 'installing readme-generator-for-helm' ;\
|
||||
npm install -g readme-generator-for-helm ;\
|
||||
}
|
||||
else
|
||||
echo 'readme-generator-for-helm is already installed'
|
||||
endif
|
Reference in New Issue
Block a user