-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluding directories #312
Comments
Ran into a similar issue and I tried something like |
To any first time contributors looking to resolve this issue, we can filter the list of directories here: sphinx-autoapi/autoapi/mappers/base.py Line 239 in 17ffa2d
|
This is a little beyond my coding skills, but I could really use a better way to exclude files and directories. The trouble with |
First time contributor here! The PR that i linked should resolve this. Could anyone review or approve the test runs? |
AutoAPI makes the reasonable assumption that one's directory structure will look like:
I have at least one structure however that looks like:
Using
autoapi_dirs = ['..']
means that it descends back intodocs
where it also finds anenv
and gobbles up everything it finds in there. Then I get aRelative import with too many levels
(and it spends a long time processing the contents of the env too).Unfortunately
autoapi_ignore
only appears to work on filenames, not directories.I'd like a way to be able to exclude all of some arbitrary directory, in my case,
/docs
The text was updated successfully, but these errors were encountered: