def main():
options = '''<STR_LIT>'''<EOL>args = docopt(options)<EOL>build(<EOL>getcwd(), args['<STR_LIT>'], args['<STR_LIT>'],<EOL>json_dump=args['<STR_LIT>'], ignore_modules=args['<STR_LIT>'], index_filename=args['<STR_LIT>'] or '<STR_LIT:index>'<EOL>)<EOL>
Main in a function in case you place a build.py for pydocs inside the root directory.