pycco-docs / pycco

Literate-style documentation generator.

Home Page:https://pycco-docs.github.io/pycco/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build documentation recursively for all files in directory and subdirectories.

mclate opened this issue · comments

commented

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/...
...

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?