pydoc.writedocs()

pydoc.writedocs(dir, pkgpath='', done=None)[source]

Write out HTML documentation for all modules in a directory tree.