-
Notifications
You must be signed in to change notification settings - Fork 183
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
Add site.yaml schema to schemastore.org #407
Comments
Actually it would be better if Nue had a more specific alternative to Update: Added a PR for this: #408 |
Hey. First, sorry — I've taken some freetime after the launch and haven't been too active here. My first though: damn Ansible! Second thought: isn't there a way around this in VS code? I code with Sublime, but when I open the site.yaml in VS code with default settings I get no such errors. Thirdly, I'm not a fan of "either / or" complexities in configuration and documentation so I really like to explore all the other options first. Thanks |
I completely understand. As I see it, there are two good options that don't involve either/or:
|
I'm glad I decided to look through issues here before going any further in my investigation into how to do this. Having a schema for the config file is a huge benefit. Whether the config is |
Citing my #408 (comment)
|
I think maybe it's best to go with this:
I have changed my PRs to reflect that:
|
Is your feature request or improvement related to a problem?
When editing the site.yaml file in VS Code, the editor mistakes it for an Ansible config file and marks every line as a syntax error.
Solution you'd like
Adding the JSON Schema to schemastore.org and including a descriptor at the top of site.yaml should do the trick. Like so:
Alternatives you've considered
No great alternatives.
Additional context
I already did it and submitted it here: SchemaStore/schemastore#4218
The text was updated successfully, but these errors were encountered: