Open stevehipwell opened 4 months ago
Hey, I think this is reasonable. I'd take a look at a PR if you made one.
@norwoodj I think this would actually require more changes to the structure of the system than I thought. After reading through the code again I've managed to get a shared template working for my use case so I don't think I've got the time to warrant doing the work for this.
General Summary
The new
skip-version-footer
flag solves the issue with the generated docs changing with newhelm-docs
versions but does so by removing the whole footer instead of only fixing the source of the problem. I'd like to keep the footer but remove thehelm-docs
version which was used for generation as having a footer to say that the docs were generated withhelm-docs
is really useful.Is your feature request related to a problem? Please describe and/or link to a bug issue.
I'd like my docs to have a footer attributing them to
helm-docs
without thehelm-docs
version used to generate them embedded in it. This is because my automation checks the docs diff and expects there to be no changes or it blocks as an error.Expected Behavior
I should be able to set a flag to always get reproducible docs which include a footer without needing to override the whole default template for every chart.
Current Behavior
I have to duplicate the whole template for all charts to remove the version from the footer.
Possible Solution
I'd like to see a new flag
skip-footer-version
added to remove the version ofhelm-docs
used from the footer without removing the whole footer.Alternatives you've considered
See above.
Further Information
No response