File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -434,11 +434,11 @@ def generate_redirects(app):
434
434
return
435
435
436
436
if not isinstance (app .builder , builders .StandaloneHTMLBuilder<
BF02
/span>):
437
- logging .warn (
437
+ logging .warning (
438
438
"The 'sphinxcontib-redirects' plugin is only supported "
439
439
"by the 'html' builder and subclasses. Skipping..."
440
440
)
441
- logging .warn (f"Builder is { app .builder .name } ({ type (app .builder )} )" )
441
+ logging .warning (f"Builder is { app .builder .name } ({ type (app .builder )} )" )
442
442
return
443
443
444
444
with open (path ) as redirects :
Original file line number Diff line number Diff line change 24
24
LAST_BUILD_TIMES = json .load (f )
25
25
logger .info ("Build times loaded." )
26
26
else :
27
- logger .warn (
27
+ logger .warning (
28
28
"No last build times found. This is normal if you're running this for the first time."
29
29
)
30
30
You can’t perform that action at this time.
0 commit comments