-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More validation for assumptions made in Enki (#203)
* Check that slugs in books.xml match a slug in a book * Check book filename matches assumption made in epub builds Epub builds assume books will be named <slug>.collection.xml * Only check the book defined on the same element as the slug Match ranges to target specific book node for validation * Do not allow bundle MISSING_BOOK and MISMATCHED_SLUG overlap * Add tests for new validation; fix existing tests
- Loading branch information
1 parent
3a3f92d
commit dbc0fb5
Showing
4 changed files
with
68 additions
and
5 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