pycco-docs / pycco

Literate-style documentation generator.
https://pycco-docs.github.io/pycco/
Other
842 stars 144 forks source link

Build documentation recursively for all files in directory and subdirectories. #78

Open mclate opened 9 years ago

mclate commented 9 years ago

Is it possible to add, say, -r (--recursive) option to allow building documentation for all folders and subfolders in given directoy?

$ pycco -r dir

# Should generate docs like this:
dir/__init__.py
dir/subdir/__init__.py
dir/subdir/package.py
dir/subdir/subdir2/__init__.py
dir/subdir/subdir/...
...
goosemo commented 8 years ago

I've added a PR/branch for this feature, though w/o the need for a flag. As I've implemented the feature, one can just use directories as aruments to pycco and it'll recurse them automatically. Why don't you checkout the branch @mclate and see if it meets your needs?