summaryrefslogtreecommitdiff
path: root/sphinx/ext/apidoc.py
diff options
context:
space:
mode:
authorLilian Besson <Naereen@users.noreply.github.com>2018-03-06 16:37:46 +0100
committerGitHub <noreply@github.com>2018-03-06 16:37:46 +0100
commit21fa15be2c349283701cfeb199772f761a91081e (patch)
tree079853c6b49a353016d342b307ff302660c80791 /sphinx/ext/apidoc.py
parentf89c7f31e80fbdeb4cbf8e7c91cb14657e60a97b (diff)
downloadsphinx-git-21fa15be2c349283701cfeb199772f761a91081e.tar.gz
Update apidoc.py
See #4712
Diffstat (limited to 'sphinx/ext/apidoc.py')
-rw-r--r--sphinx/ext/apidoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/apidoc.py b/sphinx/ext/apidoc.py
index 59efc5281..17c95ece2 100644
--- a/sphinx/ext/apidoc.py
+++ b/sphinx/ext/apidoc.py
@@ -287,7 +287,7 @@ def is_excluded(root, excludes):
"""Check if the directory is in the exclude list.
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:
if fnmatch(root, exclude):