Fix error output formatting
Create documentation root if necessary