Open valberg opened 1 year ago
Heya, yep I think you need to provide the path to the actual package, not just the containing src
folder, e.g.:
autodoc2_packages = [
"../src/my_package",
]
But for sure it should be error handled better than this
I am currently using glob.glob("../src/*/.py")
A feature to specify a path like autoapi does would be nice.
I'm getting the following when trying to build our docs with
sphinx-autodoc2
:Our
docs/conf.py
looks like this:It looks like it goes through all the modules alright, but when it comes to writing them it fails.
Am I doing anything wrong or is this a real bug?