Comments (6)
Hi Scott!
Yes, I have been wanting to allow for users to put some amount of custom content into the README for a while, but couldn't find the right abstraction for making that happen. I think this is a wonderful idea, especially if we maintain backwards compatibility by implementing the following rules:
- If no
README.md.gotpl
(or other file specified with--template
) file is found, default to the existing rules for generation - Otherwise, render the README.md file (or other output file specified with a new
--output
flag)
I don't have time to do this work immediately, but would be happy to review a pull request, or get on it in the coming weeks.
from helm-docs.
@norwoodj Maybe I can help? What have you looked into thus far? I know there is a tool called confd (https://github.com/kelseyhightower/confd) that I used previously. It was for a different purpose, but case in point, it did file templating, and is written in Go as well.
from helm-docs.
I have a good idea of how it would be implemented, just lacking the time to do it at present. I made some updates to the project yesterday to at least make further extension easier, but I probably won't have the time to implement the templating functionality for a week or two.
from helm-docs.
@sc250024 I've implemented this feature and updated the documentation to reflect the changed behaviour. Please let me know when you get a chance to test this out if there's anything confusing, or if things don't work the way you expect. Thanks for the suggestion!
from helm-docs.
@norwoodj Thank you so much ! I tested out the README.md rendering with our CI pipeline, and it works great. Kudos for all the hard work :)
from helm-docs.
Hello,
Firstly, this is a great tool. Wanted to understand a couple of things if they are supported.
- We have a requirement of helm of helms where we have multiple charts as dependencies in a single chart. Can I use this tool to generate single README file with values from all the dependent charts ?
- Is it possible to run this tool against a tar.gz file or is it necessary to explode the chart directory to run the helm-docs tool ?
from helm-docs.
Related Issues (20)
- Not an issue
- Add support for sections and custom introduction HOT 2
- Add option to disable alphabetical sorting and keep declaration order HOT 2
- Missing versions in GitHub Releases HOT 3
- Update dependencies HOT 3
- bug: Binary artifacts renamed in `v1.11.2` HOT 7
- [Bug]: building for openSUSE fails with "unsafe.Slice requires go1.17 or later (-lang was set to go1.16; check go.mod)" HOT 4
- [Feat]: Move project to helm-docs organization HOT 3
- [Feat]: recursive with template from root (and template inside chart) HOT 1
- Not able to ignore chart folder even after adding entry in .helmdocsignore file HOT 5
- [Bug]: README shows the repo name as jnorwood/helm-docs rather than norwoodj/helm-docs in pre-commit examples
- [security] Vulnerabilities in the Container Image HOT 2
- Is it possible to add custom fields and use those values in generating docs
- [Feat]: Add an option for "deprecation warning" for a value HOT 1
- Collision between the actual helm-docs commands and the regular Markdown documentation of the helm charts HOT 1
- [Bug]: Segmentation violation when using templates in `values.yml` HOT 1
- [Bug]: Error with my go1.20 cannot compile Go 1.22 code HOT 1
- [Feat]: git-hook HOT 3
- [Feat]: pre-commit helm-docs-container pin docker version by default
- [Bug]: `helm-docs.versionFooter` missing when installing tool using Go HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-docs.