Write out HTML documentation for all modules in a directory tree.
(dir, pkgpath='', done=None)
| 1816 | print('wrote', name + '.html') |
| 1817 | |
| 1818 | def writedocs(dir, pkgpath='', done=None): |
| 1819 | """Write out HTML documentation for all modules in a directory tree.""" |
| 1820 | if done is None: done = {} |
| 1821 | for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath): |
| 1822 | writedoc(modname) |
| 1823 | return |
| 1824 | |
| 1825 | |
| 1826 | def _introdoc(): |