Write out HTML documentation for all modules in a directory tree.
(dir, pkgpath='', done=None)
| 1770 | print('wrote', name + '.html') |
| 1771 | |
| 1772 | def writedocs(dir, pkgpath='', done=None): |
| 1773 | """Write out HTML documentation for all modules in a directory tree.""" |
| 1774 | if done is None: done = {} |
| 1775 | for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath): |
| 1776 | writedoc(modname) |
| 1777 | return |
| 1778 | |
| 1779 | |
| 1780 | def _introdoc(): |