-
-
Notifications
You must be signed in to change notification settings - Fork 348
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
YAMLize netkan spec #3438
YAMLize netkan spec #3438
Conversation
I think this also should be adjusted, to Line 825 in c087675
|
8553894
to
9b47517
Compare
OK, changed. |
Sorry, that was ambiguous. It needs to be either
as in YAML in single quotes (or no quotes) the backslash doesn't need to be escaped, but in double quotes it behaves like JSON and we need So it would have been correct like it has been initially, but as we tend to use single or no quotes in YAMLkans, it might be misleading like that, so instead we should choose one of the first two options. |
9b47517
to
41c4a40
Compare
OK, quotes removed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Easier copy-paste!
Motivation
In #3367, we enabled YAML format for human-edited metadata, but most of the relevant documentation still uses JSON. This may be leading advanced users to submit JSON format netkans instead of YAML (see KSP-CKAN/NetKAN#8720).
Changes
Now the Spec.md documentation uses YAML format when discussing netkans.
The wiki page for adding a mod was updated here, in case you would like to review the changes:
https://github.com/KSP-CKAN/CKAN/wiki/Adding-a-mod-to-the-CKAN/_compare/9e902784ae698b6f1f1fe8fca6e3b82bcead4e2e...2f5cacc582c207b8ffa3d1988f5e89ad17ef374f
Also the long-broken link to ksp.marce.at is replaced.