quick dirty code to produce documentation with sphinx