mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #4713 from Naereen/patch-2
Update apidoc.py to fix a tiny English typo
This commit is contained in:
@@ -287,7 +287,7 @@ def is_excluded(root, excludes):
|
|||||||
"""Check if the directory is in the exclude list.
|
"""Check if the directory is in the exclude list.
|
||||||
|
|
||||||
Note: by having trailing slashes, we avoid common prefix issues, like
|
Note: by having trailing slashes, we avoid common prefix issues, like
|
||||||
e.g. an exlude "foo" also accidentally excluding "foobar".
|
e.g. an exclude "foo" also accidentally excluding "foobar".
|
||||||
"""
|
"""
|
||||||
for exclude in excludes:
|
for exclude in excludes:
|
||||||
if fnmatch(root, exclude):
|
if fnmatch(root, exclude):
|
||||||
|
|||||||
Reference in New Issue
Block a user