checking for syntax errors in gendoc.py checking for parse errors with rst2html