Improved formatting of sphinx docs