-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show documentation for the downloaded version if downloaded (#3305)
* Add documentation key to hacs.json * warn only * Use default in validation as well * Allow multiple languages * test for both outcomes * Add hacs/repository/documentation WS to get the documentation * Update legacy command * decode content * replace svg in backend * Allow subdir * Use commit if version is not set * Return early if no arguments * Get the correct file * Add helper for get_hacs_json * Add tests for the new WS endpoint * Test unknown version as well * lint * Register all on init * Add components * Only validate documentation if present * Skip storing the documentation key * rename test * Do not skip keys * lint * Verify not storing default * simplify * more simplifiacation * simplify
- Loading branch information
Showing
5 changed files
with
171 additions
and
39 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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