epydoc - can I provide multiple dirs to parse
Medi
montaseri at gmail.com
Mon Oct 5 14:53:34 EDT 2009
On Oct 5, 2:09 am, Jean-Michel Pichavant <jeanmic... at sequans.com>
wrote:
> Medi wrote:
> > Can I present multiple directories toepydocto process. For example
>
> >epydoc-option -option -option dir_1 dir_2 dir_3
>
> > where dir_i is a directory containing some python src codes ?
>
> > I am currently running it on two directories with about 10M + 20 Meg
> > which takes a very long time (more than 40 minutes) and strace(1) is
> > showing mmap(2) ops back to back....might not be related but the
> > process gets wedged somewhere
>
> > Thanks
> > Medi
>
> Here is an ugly python script we are using to build the doc.
>
> #!/usr/bin/python
> # coding: utf-8
>
> if __name__ == '__main__':
> import sys
> try :
> importepydoc
> except ImportError:
> print "Error while importingepydoc"
> print "Make sure it is installed"
> fromepydoc.cli import cli
> modules = ['dir_1','dir_2','dir_3']
> sys.argv = ["epydoc.py", "--html", "--no-frame", "--parse-only",
> "--exclude=.*scripts.bug.*",
> "--graph=all",
> #"--no-sourcecode",
> "--inheritance=grouped",
> "-v",
> "--output",
> "/home/labsys/public_html"
> ] + sys.argv[1:]
> sys.argv += modules
> cli()
Looks like multiple dir should work...
Also, what does the author mean by --inheritance=STYLE where style =
{ grouped, listed, included } . The help text does not explain this
well.
More information about the Python-list
mailing list