-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The description includes description of previous commented values #96
Comments
This is unfortunately a consequence of how the go yaml library works. It treats everything from the first comment as the HeadComment of |
I may be definitely missing something, but shouldn't adding something like this
to https://github.com/norwoodj/helm-docs/blob/master/pkg/helm/comment.go#L7 be safe and enough? I made a quick and dirty test and it seemed to work well:
Opened #99, please feel free to close it if I'm totally wrong here. |
Might be related to #92
values.yaml
expected output
nil
nil
actual output
nil
nil
The text was updated successfully, but these errors were encountered: