-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Takes config file argument like bake.
Performs a quick validation to confirm that all requirements are met:
- config found
- config syntactically valid
- config has required keys (documents)
- directories of documents (as listed) exist
- document configs found
- document configs syntactically valid
- document configs have required keys (filename, pages) - should "filename" maybe be changed to "name"?
- pages found as configured (directory, config)
- page configs syntactically valid
- page config has required keys (name) - should "name" maybe be changed to "filename"?
- if images are listed, images exist (going too far?)
- templates found as configured
- validate template content? (defusedxml check well formed, root is ) (going too far?)
- Inkscape installed if required by config
- Ghostscript installed if required by config
- build directory/directories already exist (warning)
- dist directory/directories already exist (warning)
Put this in a separate module.
Always run this first before attempting bake. (still good for the user to have this separate command)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels