Skip to content

Commit

Permalink
Explicitly point Jinja2 documentation to 2.11.x (apache#15847)
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr authored May 14, 2021
1 parent 758ad90 commit 7eeb362
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion airflow/models/dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class DAG(LoggingMixin):
)
**See**: `Jinja Environment documentation
<https://jinja.palletsprojects.com/en/master/api/#jinja2.Environment>`_
<https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.Environment>`_
:type jinja_environment_kwargs: dict
:param tags: List of tags to help filtering DAGS in the UI.
Expand Down
2 changes: 1 addition & 1 deletion docs/apache-airflow/concepts/operators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ You can pass custom options to the Jinja ``Environment`` when creating your DAG.
},
)
See the `Jinja documentation <https://jinja.palletsprojects.com/en/master/api/#jinja2.Environment>`_ to find all available options.
See the `Jinja documentation <https://jinja.palletsprojects.com/en/2.11.x/api/#jinja2.Environment>`_ to find all available options.

Rendering Fields as Native Python Objects
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion docs/apache-airflow/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ otherwise Airflow will raise an exception.
Templating with Jinja
---------------------
Airflow leverages the power of
`Jinja Templating <https://jinja.palletsprojects.com/>`_ and provides
`Jinja Templating <https://jinja.palletsprojects.com/en/2.11.x/>`_ and provides
the pipeline author
with a set of built-in parameters and macros. Airflow also provides
hooks for the pipeline author to define their own parameters, macros and
Expand Down
2 changes: 1 addition & 1 deletion docs/exts/docs_build/third_party_inventories.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'boto3': 'https://boto3.amazonaws.com/v1/documentation/api/latest',
'celery': 'https://docs.celeryproject.org/en/stable',
'hdfs': 'https://hdfscli.readthedocs.io/en/latest',
'jinja2': 'https://jinja.palletsprojects.com/en/master',
'jinja2': 'https://jinja.palletsprojects.com/en/2.11.x',
'mongodb': 'https://pymongo.readthedocs.io/en/3.11.3',
'pandas': 'https://pandas.pydata.org/pandas-docs/stable',
'python': 'https://docs.python.org/3',
Expand Down

0 comments on commit 7eeb362

Please sign in to comment.