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 @@ -1163,9 +1163,9 @@ def validate_html_extra_path(app: Sphinx, config: Config) -> None:
1163
1163
logger .warning (__ ('html_extra_path entry %r does not exist' ), entry )
1164
1164
config .html_extra_path .remove (entry )
1165
1165
else :
1166
- try :
1167
- common_path = path .commonpath ([app .outdir , extra_path ])
1168
- except ValueError : # different directories, can skip to next
1166
+ try :
1167
+ common_path = path .commonpath ([app .outdir , extra_path ])
1168
+ except ValueError : # different directories, can skip to next
1169
1169
continue
1170
1170
if common_path == app .outdir :
1171
1171
logger .warning (__ ('html_extra_path entry %r is placed inside outdir' ), entry )
@@ -1182,7 +1182,7 @@ def validate_html_static_path(app: Sphinx, config: Config) -> None:
1182
1182
else :
1183
1183
try :
1184
1184
common_path = path .commonpath ([app .outdir , static_path ])
1185
- except ValueError : # different directories, can skip to next
1185
+ except ValueError : # different directories, can skip to next
1186
1186
continue
1187
1187
if common_path == app .outdir :
1188
1188
logger .warning (__ ('html_static_path entry %r is placed inside outdir' ), entry )
You can’t perform that action at this time.
0 commit comments