apache/airflow-site

Suggest Change Button leads to 404

WhiteHotLoveTiger opened this issue · 2 comments

When I click on the "Suggest a change on this page" button, eg. from this page: https://airflow.apache.org/docs/apache-airflow/stable/concepts/taskflow.html , the button's link takes me to a 404 page on github like this one: https://github.com/apache/airflow/edit/devel/docs/apache-airflow/concepts/taskflow.rst

I believe the branch name in the link needs to be set to main instead of devel.

{% set github_link = meta['github_url'] %}
{% else %}
{% set github_link = 'https://' ~ github_host|default("github.com") ~ '/' ~ github_user ~ '/' ~ github_repo ~ '/' ~ theme_vcs_pageview_mode|default("blob") ~ '/' ~ github_version ~ conf_py_path ~ pagename ~ suffix %}

Yep. It is already fixed (see #417) - we just need to release new version of the documentation.

Works now for providers (we released the docs). When we release Airfllow 2* it will be fixed for airflow/helm/docker-stack