Documentation fixes

Fixed some warnings in documentation build and added some more formatting.