Problems Generating HTML With pydoc

Juha S. sj.m at iloinen.net
Fri Feb 29 01:49:51 EST 2008


Ron DuPlain wrote:
> I also expected "pydoc -w mypackage" to recursively generate html for
> the whole package, but it only wrote the top-level file for me as well
> (on Linux, for the record)
>   
> I use the workaround:
> pydoc -w ./
>
> This runs "pydoc -w" on all Python files in the current directory and
> its subdirectories.
> On Windows, you'll probably have to use:
> pydoc -w .\
>
> ... or  "F:\path\to\project\pydoc.py -w .\"
>   

Thanks! That seemed to do the trick.

Regards,
Juha



More information about the Python-list mailing list