diff options
| author | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-07-17 21:53:12 +0100 |
|---|---|---|
| committer | Adam Turner <9087854+aa-turner@users.noreply.github.com> | 2022-07-17 21:53:12 +0100 |
| commit | a4d41aa889388bf8ee2815d4819235b5ca978a8d (patch) | |
| tree | 67763bc78a88f0114ff22e50f8419213dc0ff4ef /sphinx/directives | |
| parent | 1e3ade55fe24107c883fc2725ecab28350e3f6cb (diff) | |
| parent | aa47f5d53aa3327aa0acf2aeb25996b3b3ba6898 (diff) | |
| download | sphinx-git-a4d41aa889388bf8ee2815d4819235b5ca978a8d.tar.gz | |
Merge branch '5.x'
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 083fa088a..38a332674 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) + excluded = Matcher(self.config.exclude_patterns, self.config.include_patterns) for entry in self.content: if not entry: continue |
