summaryrefslogtreecommitdiff
path: root/sphinx/directives
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-07-23 21:19:35 +0100
committerGitHub <noreply@github.com>2022-07-23 21:19:35 +0100
commite3337c78c614bffef3b57eb9dc170aaf33c80612 (patch)
treea54717f8edefeebe88fd5bb05fe351c7f4f32efb /sphinx/directives
parent89db13d71fcc949efc0a7d223683fe8901997d39 (diff)
downloadsphinx-git-e3337c78c614bffef3b57eb9dc170aaf33c80612.tar.gz
Update include_patterns implementation (#10680)
Diffstat (limited to 'sphinx/directives')
-rw-r--r--sphinx/directives/other.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py
index de2427d46..35e16e623 100644
--- a/sphinx/directives/other.py
+++ b/sphinx/directives/other.py
@@ -84,7 +84,7 @@ class TocTree(SphinxDirective):
all_docnames.remove(self.env.docname) # remove current document
ret: List[Node] = []
- excluded = Matcher(self.config.exclude_patterns, self.config.include_patterns)
+ excluded = Matcher(self.config.exclude_patterns)
for entry in self.content:
if not entry:
continue