Adds config validation to configuration plugin#9886
Merged
Conversation
Member
Author
|
Rebased. |
balloob
approved these changes
Jul 18, 2019
KJonline
pushed a commit
to Rendili/home-assistant.github.io
that referenced
this pull request
Jul 19, 2019
…nt.io into next * 'next' of https://github.com/home-assistant/home-assistant.io: (66 commits) Update totalconnect.markdown (home-assistant#9589) add HmIP-FCI1, HmIP-BBL, HmIP-FBL to Homematic IP Cloud (home-assistant#9873) Update neato configuration to include vendor support (home-assistant#9882) Add documentation for new Rainforest Eagle-200 platform (home-assistant#9761) Add MQTT climate precision (home-assistant#9896) Adds config validation to configuration plugin (home-assistant#9886) Fix example (home-assistant#9899) Clarify modes is limited to a specific set. (home-assistant#9897) Mode `on` is now `heat` (home-assistant#9893) Update climate.markdown (home-assistant#9894) Collection of configuration block fixes (home-assistant#9892) Collection of configuration block fixes (home-assistant#9884) Add info about concurrent use of data and data_template (home-assistant#9889) Add info about concurrent use of data and data_template (home-assistant#9890) Updating template example (home-assistant#9891) Mention podcast Mention 25k stars Update solaredge_local.markdown (home-assistant#9878) Add Py35 msg Fix code blocks in breaking changes ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
This updates our Jekyll configuration plugin (responsible for rendering the configuration blocks).
Markdown in config values
It adds support for rendering config values as Markdown by parsing the values. This broken when we switched Markdown parser. The output wasn't actually Markdown, but mixed HTML/Markdown. By Markdown parsing values separately, this becomes just HTML as output.
Configuration validation
Secondly, it adds a bunch of check to the configuration, basically adding config validation.
If the configuration block contains invalid values/syntax/types/ect the site build will fail with a proper error message.
All current configuration blocks are corrected using this check: #9884 and #9874.
rcbranch (aka release).📆 The plan:
current->nextnextmanually and correct if needed.currentcurrent->nextScreenshots of build errors
Pull request in home-assistant (if applicable): home-assistant/home-assistant#
Checklist:
nextis for changes and new documentation that will go public with the next home-assistant release. Fixes, changes and adjustments for the current release should be created againstcurrent.