apache/airflow-site

Broken links on tutorial.html

Closed this issue · 5 comments

Describe the issue with documentation

  1. visit https://airflow.apache.org/docs/apache-airflow/2.2.4/tutorial.html
  2. go to the section Templating with Jinja(Templating with Jinja)
  3. scroll down to the para "Using that same DAG constructor call.........", the hyperlink Jinja documentation opens the link successfully (target URL is https://jinja.palletsprojects.com/en/latest/api/#custom-filters)

while 2.2.4 link is working fine, but older version links are broken

visit https://airflow.apache.org/docs/apache-airflow/2.2.3/tutorial.html and repeat the same steps, links seems pointing to (https://jinja.palletsprojects.com/en/master/api/#writing-filters)
same behavior observed for 2.2.3,2.2.2, 2.2.1,2.2.0 & other versions

How to solve the problem

Can we use 2.2.4 target URL for older versions ?

Anything else

How often this problem occur? :Every time we use older documentation

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Thanks for opening your first issue here! Be sure to follow the issue template!

Please let me know if I can take this defect as a first contribution from my side.

Feel free! Thanks for that!

Generally, we only maintain documentation for the latest version, but if you want to make this change, you need to change it in the generated HTML files in the airflow-site repository.

Thank you @mik-laj for comments. I got it.
Let me find other bugs to work.