convert manual to python documentation style