-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
If I am trying to exclude init.py, it is throwing AssertionError.
I executed following command:
_sphinx-apidoc -o source/plugin ../plugins/ ../plugins/echo.py ../plugins/__init__.py -f_
error thrown:
Traceback (most recent call last):
File "/Users/srivastk/virtualenv/proton/bin/sphinx-apidoc", line 11, in <module>
sys.exit(main())
File "/Users/srivastk/virtualenv/proton/lib/python3.5/site-packages/sphinx/apidoc.py", line 343, in main
modules = recurse_tree(rootpath, excludes, opts)
File "/Users/srivastk/virtualenv/proton/lib/python3.5/site-packages/sphinx/apidoc.py", line 230, in recurse_tree
assert root == rootpath and root_package is None
AssertionError