Skip to main content

check_theme_compatibility

Function check_theme_compatibility 

Source
pub fn check_theme_compatibility(template_dir: &Path) -> Result<(), SsgError>
Expand description

Fails the build when the theme requires a newer generator than this one.

ยงErrors

Returns SsgError::Validation naming both versions and the manifest that declared the floor.