-
Notifications
You must be signed in to change notification settings - Fork 421
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
Verify the configuration file #20
Comments
Thanks for opening this issue, maintainers will get back to you as soon as possible! |
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Superseded by hexojs/hexo#4580 |
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs. |
Issue Checklist
Expected behavior
Verify the configuration file of the theme, when our configuration changes, or the user fills in the wrong content, wecan remind the user to modify.
I try to use ajv check
But the problem is that we need to maintain a huge json-schema. Even the compressed next theme (cake), config file line about 140.
The schema has 276 lines. schema.json.The schema has 160 lines. schema.yml.Do you think? @stevenjoezhang
Example
When I fill in a wrong value
The text was updated successfully, but these errors were encountered: