Bug: StaticPageBuilder not able to create nested documentation directories #47
Closed
Description
This is a minor bug in line 66 of the StaticPageBuilder.php where new documentation directories are created. If the directory is more than one level deep and the first level does not exist it fails with an ErrorException.
Steps to reproduce: set 'docsDirectory' to 'foo/bar' in the Hyde config and run the build command. Since foo does not exist bar cannot be created.
Possible fix: Use recursive: true in the mkdir function call
In the meantime, creating the directory manually solves the problem, and since this is an edge case I think this has pretty low priority but it will be fixed before v1.
Metadata
Assignees
Labels
No labels