We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 559a3f9 commit b6318d9Copy full SHA for b6318d9
sphinx/builders/__init__.py
@@ -419,10 +419,9 @@ def read(self) -> list[str]:
419
else:
420
self._read_serial(docnames)
421
422
-
423
if self.config.root_doc not in self.env.all_docs:
424
- if ("**" in self.config.exclude_patterns
425
- or "**.rst" in self.config.exclude_patterns):
+ if ("**" in self.config.exclude_patterns or
+ "**.rst" in self.config.exclude_patterns):
426
raise SphinxError('customized exclude_patterns is set ' +
427
'and root file %s is in the exclude_patterns' %
428
self.env.doc2path(self.config.root_doc))
0 commit comments