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

xddeng 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 7c0541b  Fix error message when checking literalinclude in docs 
(#11140)
7c0541b is described below

commit 7c0541bbf05efea551aba166a56ff7efb7f80b27
Author: Kaxil Naik <[email protected]>
AuthorDate: Fri Sep 25 06:06:44 2020 +0100

    Fix error message when checking literalinclude in docs (#11140)
    
    Before:
    ```
    literalinclude directive is is prohibited for example DAGs
    ```
    
    After:
    
    ```
    literalinclude directive is prohibited for example DAGs
    ```
---
 docs/build_docs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/build_docs.py b/docs/build_docs.py
index a257ced..dd73ea9 100755
--- a/docs/build_docs.py
+++ b/docs/build_docs.py
@@ -416,7 +416,7 @@ def check_exampleinclude_for_example_dags():
             file_path=doc_file,
             pattern=r"literalinclude::.+example_dags",
             message=(
-                "literalinclude directive is is prohibited for example DAGs. 
\n"
+                "literalinclude directive is prohibited for example DAGs. \n"
                 "You should use the exampleinclude directive to include 
example DAGs."
             )
         )

Reply via email to