-
Notifications
You must be signed in to change notification settings - Fork 24
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
comments are stripped from output file #27
Comments
Two things about this:
I am not the maintainer of this codebase, just a contributor, so I will defer to @francescobianco on whether or not yamlinc should support this, or even can support this. In the meantime, I can at least look to see what options might be available. Also, if anything I have said above is incorrect (since I haven't looked at this project in some time), please feel free to correct my mistake. |
There are newer parsers that allow the comments to be maintained. It may be that the code would need a new parser or a new configuration in the existing parser. Lacking the comments in the output file, especially for a template.yaml that's used in cloudformation is frustrating for people who just need to read the output. If nothing else, it removes the ability to put separators between sections. |
Agreed, I definitely understand the use case. It looks like are a couple libraries that can possibly help with this: |
It would be much nicer if the comments in the included files were also able to appear in the output file.
Our output cloudformation file is both functional and documentation. But now people have to go dig up the sub-files in order to read the comments.
The text was updated successfully, but these errors were encountered: