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):
434434 return
435435
436436 if not isinstance (app .builder , builders .StandaloneHTMLBuilder ):
437- logging .warn (
437+ logging .warning (
438438 "The 'sphinxcontib-redirects' plugin is only supported "
439439 "by the 'html' builder and subclasses. Skipping..."
440440 )
441- logging .warn (f"Builder is { app .builder .name } ({ type (app .builder )} )" )
441+ logging .warning (f"Builder is { app .builder .name } ({ type (app .builder )} )" )
442442 return
443443
444444 with open (path ) as redirects :
Original file line number Diff line number Diff line change 2424 LAST_BUILD_TIMES = json .load (f )
2525 logger .info ("Build times loaded." )
2626else :
27- logger .warn (
27+ logger .warning (
2828 "No last build times found. This is normal if you're running this for the first time."
2929 )
3030
You can’t perform that action at this time.
0 commit comments