-
-
Notifications
You must be signed in to change notification settings - Fork 10k
-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Docs: Autocompletion for _config.yml #7884
Comments
Submit a PR to https://github.com/schemastore/schemastore/pulls and let us know when it's available we'll mention it in our documentation. |
See the configuration description at https://jekyllrb.com/docs/configuration/ See jekyll/jekyll#7884
@DirtyF its available now http://json.schemastore.org/jekyll I already have a minor fix in the works, but generally it should already work. |
|
What else can it be? If you don't want to specify it, just don't specify it in the |
I just meant to say, the type array for For a site designed to be mounted at URL |
Ok I will add this change. But just to clarify, what would happen if the |
It defaults to Ruby jekyll/lib/jekyll/configuration.rb Line 49 in 6cee922
(Since you're working on patch, you should also correct |
I understood that, because I checked the source. So if the user does not specify it, it will default to nil. No need to include a choice then to set it to nil. Why would you explicitly set it to nil in the config in the first place? I'll however change the format to be just a string, since "/blog" is not a valid URI. |
Yeah. This property has confused users endless. Some have even interpreted it to be similar to HTML |
See the configuration description at https://jekyllrb.com/docs/configuration/ See jekyll/jekyll#7884
The schema is already live, since... last year ;) Feel free to close this here and maybe follow up with a docs note about the schema support? @DirtyF |
@pke Any guidance on how to use it with VSCode or other editors? |
Works automagically ;)
No tool config required.
See the schemastore site for supported editors.
…-----Original Message-----
From: "Frank Taillandier" <notifications@github.com>
Sent: 10.01.2020 18:36
To: "jekyll/jekyll" <jekyll@noreply.github.com>
Cc: "Philipp Kursawe" <phil.kursawe@gmail.com>; "Mention" <mention@noreply.github.com>
Subject: Re: [jekyll/jekyll] Docs: Autocompletion for _config.yml (#7884)
@pke Any guidance on how to use it with VSCode or other editors?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Summary
Create a JSON Schema for publishing at http://schemastore.org so one can get a little help in form of suggestions and validation from supported editors (VSCode) when editing the
_config.yaml
files.Would you accept a PR with a JSON Schema?
The text was updated successfully, but these errors were encountered: