File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -420,16 +420,16 @@ def read(self) -> list[str]:
420420 self ._read_serial (docnames )
421421
422422 if self .config .root_doc not in self .env .all_docs :
423- if ("**" in self .config .exclude_patterns or
423+ if ("**" in self .config .exclude_patterns or
424424 "**.rst" in self .config .exclude_patterns ):
425- raise SphinxError ('customized exclude_patterns is set ' +
425+ raise SphinxError ('customized exclude_patterns is set ' +
426426 'and root file %s is in the exclude_patterns' %
427427 self .env .doc2path (self .config .root_doc ))
428428 elif "**" not in self .config .include_patterns :
429- raise SphinxError ('customized include_patterns is set, ' +
429+ raise SphinxError ('customized include_patterns is set, ' +
430430 'but root file %s is not in the include_patterns' %
431431 self .env .doc2path (self .config .root_doc ))
432- else :
432+ else :
433433 raise SphinxError ('root file %s not found' %
434434 self .env .doc2path (self .config .root_doc ))
435435
You can’t perform that action at this time.
0 commit comments