parameters: (dir, pkgpath='', done=None)
return_statement: return
docstring: Write out HTML documentation for all modules in a directory tree.
docstring_summary: Write out HTML documentation for all modules in a directory tree.
docstring_tokens: Write out HTML documentation for all modules in a directory tree .
function: def writedocs(dir, pkgpath='', done=None):
      """Write out HTML documentation for all modules in a directory tree."""
      if done is None: done = {}
      for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
          writedoc(modname)
      return
function_tokens: def writedocs ( dir , pkgpath = '' , done = None ) : if done is None : done = { } for importer , modname , ispkg in pkgutil . walk_packages ( [ dir ] , pkgpath ) : writedoc ( modname ) return