rewrite of documentation in sphinx/restructuredtext