-
Notifications
You must be signed in to change notification settings - Fork 27
Get the description added from the comment added above the variable #67
Comments
This currently isn't possible. I looked into this at some point but couldn't easily figure out how to get consistent behaviour with
If someone wants to look into this and open a PR I'd be happy to discuss/review. |
If the logic picks the line above the variable as a comment, it will be easier to manage the comments in terms of readability.
or standardize comments format to use ## or # -- |
Sure. Do you have any interest in working on this and opening a PR? |
Just bumped into this, looking currently at Frigate as an alternative to It is using the prefix Does anyone already have a view or gut feeling what it would take to add this capability? I've skimmed through the ruyaml documentation and not come across any examples for regular comments. The docs seem to mainly be focused on end-of-line comments attached to something. |
It would be great to add this but I don't have the capacity to look at this at the moment. I'd be very happy to review PRs from folks. |
I have been working on this because we needed to document around 6k values. I have encountered this issue
The best thing I was able to achieve was reading the file from the value line upwards, finding the lines starting with |
is there anyway to get the description added from the comment added above the variable
The text was updated successfully, but these errors were encountered: