mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-19 15:25:31 +00:00
Match ignore patterns again full filename
This commit is contained in:
parent
f59203178c
commit
481bf32b15
@ -164,7 +164,7 @@ class SphinxMapperBase(object):
|
||||
|
||||
# Skip ignored files
|
||||
for ignore_pattern in ignore:
|
||||
if fnmatch.fnmatch(filename, ignore_pattern):
|
||||
if fnmatch.fnmatch(os.path.join(root, filename), ignore_pattern):
|
||||
self.app.info("Ignoring %s/%s" % (root, filename))
|
||||
skip = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user