-
-
Notifications
You must be signed in to change notification settings - Fork 667
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate validation to Jekyll hooks (#2709)
Compared to the use of the validate.py scripts, this has the advantage of ensuring the validation is always performed. It also gives access to enriched data, which is useful for validated generated content, such as release links. It also check links in the product description. Note that some links had to be excluded from this check because, despite being valid, they are systematically returning an error. A dependency to open-uri (https://github.com/ruby/open-uri) has been added to simplify the validation of HTTP links. For this to work the priority of the ProductDataEnricher plugin has been set to normal, to allow hooks to be run before and after enrichment. Some alternate URLs has been changed or removed due to an enforcement of the rules regarding permalinks and alternate_urls (no more dots).
- Loading branch information
1 parent
1162d3b
commit 24259c4
Showing
10 changed files
with
290 additions
and
143 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.