Changed content for new docs that was causing the render conflicts with markdoc tags (#11181)

This commit is contained in:
Aniket Katkar 2023-04-21 12:11:42 +05:30 committed by GitHub
parent a72cdf4b61
commit 9db2a0198a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 36 deletions

View File

@ -225,15 +225,7 @@ with DAG(
dag.doc_md = """
This is a documentation placed anywhere
""" # otherwise, type it like this
templated_command = dedent(
"""
{% for i in range(5) %}
echo "{{ ds }}"
echo "{{ macros.ds_add(ds, 7)}}"
echo "{{ params.my_param }}"
{% endfor %}
"""
)
templated_command = dedent("")
t3 = BashOperator(
task_id='templated',

View File

@ -118,15 +118,7 @@ with DAG(
dag.doc_md = """
This is a documentation placed anywhere
""" # otherwise, type it like this
templated_command = dedent(
"""
{% for i in range(5) %}
echo "{{ ds }}"
echo "{{ macros.ds_add(ds, 7)}}"
echo "{{ params.my_param }}"
{% endfor %}
"""
)
templated_command = dedent("")
t3 = BashOperator(
task_id='templated',

View File

@ -225,15 +225,7 @@ with DAG(
dag.doc_md = """
This is a documentation placed anywhere
""" # otherwise, type it like this
templated_command = dedent(
"""
{% for i in range(5) %}
echo "{{ ds }}"
echo "{{ macros.ds_add(ds, 7)}}"
echo "{{ params.my_param }}"
{% endfor %}
"""
)
templated_command = dedent("")
t3 = BashOperator(
task_id='templated',

View File

@ -118,15 +118,7 @@ with DAG(
dag.doc_md = """
This is a documentation placed anywhere
""" # otherwise, type it like this
templated_command = dedent(
"""
{% for i in range(5) %}
echo "{{ ds }}"
echo "{{ macros.ds_add(ds, 7)}}"
echo "{{ params.my_param }}"
{% endfor %}
"""
)
templated_command = dedent("")
t3 = BashOperator(
task_id='templated',