Skip to content

Commit b6318d9

Browse files
committed
spaces
1 parent 559a3f9 commit b6318d9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sphinx/builders/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,9 @@ def read(self) -> list[str]:
419419
else:
420420
self._read_serial(docnames)
421421

422-
423422
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):
423+
if ("**" in self.config.exclude_patterns or
424+
"**.rst" in self.config.exclude_patterns):
426425
raise SphinxError('customized exclude_patterns is set ' +
427426
'and root file %s is in the exclude_patterns' %
428427
self.env.doc2path(self.config.root_doc))

0 commit comments

Comments
 (0)