diff options
| author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2022-07-23 21:19:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-23 21:19:35 +0100 |
| commit | e3337c78c614bffef3b57eb9dc170aaf33c80612 (patch) | |
| tree | a54717f8edefeebe88fd5bb05fe351c7f4f32efb /sphinx/directives | |
| parent | 89db13d71fcc949efc0a7d223683fe8901997d39 (diff) | |
| download | sphinx-git-e3337c78c614bffef3b57eb9dc170aaf33c80612.tar.gz | |
Update include_patterns implementation (#10680)
Diffstat (limited to 'sphinx/directives')
| -rw-r--r-- | sphinx/directives/other.py | 2 |
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 |
