Write out HTML documentation for all modules in a directory tree.
(dir, pkgpath='', done=None)
| 1886 | print('wrote', name + '.html') |
| 1887 | |
| 1888 | def writedocs(dir, pkgpath='', done=None): |
| 1889 | """Write out HTML documentation for all modules in a directory tree.""" |
| 1890 | if done is None: done = {} |
| 1891 | for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath): |
| 1892 | writedoc(modname) |
| 1893 | return |
| 1894 | |
| 1895 | class Helper: |
| 1896 |