fix gen_doc.py
Merge pull request #16 from tjhei/fix_gen_doc

fix gen_doc.py