Make documentation and error output use theme base templates