The two are now linked together in build.py by specifying the input module. Updated gendoc.py to specify the right module.