Change formatting of generated Python docs
Merge branch 'issue-234-gen-python'
Fixes #234