This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 5503a6a  Fix Warning when using a different Sphinx Builder (#10262)
5503a6a is described below

commit 5503a6a152f2cb59264a2f5a5e267f38355c871a
Author: Kaxil Naik <[email protected]>
AuthorDate: Sun Aug 9 15:39:31 2020 +0100

    Fix Warning when using a different Sphinx Builder (#10262)
---
 docs/exts/redirects.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/exts/redirects.py b/docs/exts/redirects.py
index 9e887cc..5ea4885 100644
--- a/docs/exts/redirects.py
+++ b/docs/exts/redirects.py
@@ -29,7 +29,7 @@ log = logging.getLogger(__name__)
 
 
 def generate_redirects(app):
-    """Generaate redirects files."""
+    """Generate redirects files."""
     redirect_file_path = os.path.join(app.srcdir, app.config.redirects_file)
     if not os.path.exists(redirect_file_path):
         raise ExtensionError(f"Could not find redirects file at 
'{redirect_file_path}'")
@@ -38,7 +38,7 @@ def generate_redirects(app):
 
     if not isinstance(app.builder, builders.StandaloneHTMLBuilder):
         log.warning(
-            "The plugin is support only 'html' builder, but you are using 
'{type(app.builder)}'. Skipping..."
+            f"The plugin supports only 'html' builder, but you are using 
'{type(app.builder)}'. Skipping..."
         )
         return
 

Reply via email to