We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56367b1 commit e40539cCopy full SHA for e40539c
conf.py
@@ -391,13 +391,13 @@
391
def generate_redirects(app):
392
path = os.path.join(app.srcdir, app.config.redirects_file)
393
if not os.path.exists(path):
394
- logging.info("Could not find redirects file at '%s'" % path)
+ logging.error("Could not find redirects file at '%s'" % path)
395
return
396
397
- logging.warn(f"Builder is {app.builder.name} ({type(app.builder)})")
398
if not isinstance(app.builder, builders.StandaloneHTMLBuilder):
399
logging.warn("The 'sphinxcontib-redirects' plugin is only supported "
400
"by the 'html' builder and subclasses. Skipping...")
+ logging.warn(f"Builder is {app.builder.name} ({type(app.builder)})")
401
402
403
with open(path) as redirects:
0 commit comments