From ee7ae9c9e28b423d82493a3155ac2746bfa2d9e8 Mon Sep 17 00:00:00 2001 From: LIU ZHE YOU Date: Mon, 31 Mar 2025 19:42:41 +0900 Subject: [PATCH] [v2-10-test] Fix Docs Building in 2-10-test Some recent changes in main and documentation published in the inventories, made the 2.10 doc building fail as references to non-existing docs in the new inventories were still used in the documentation for 2.10 This PR fixes it by changing the docs to not refer to those changed docs any more. The PRs that removed the links: #47320 and #47399 Co-authored-by: LIU ZHE YOU Co-authored-by: Jarek Potiuk --- docs/apache-airflow/core-concepts/overview.rst | 2 +- docs/apache-airflow/public-airflow-interface.rst | 7 +++---- docs/exts/includes/sections-and-options.rst | 4 ++++ newsfragments/48568.significant.rst | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 newsfragments/48568.significant.rst diff --git a/docs/apache-airflow/core-concepts/overview.rst b/docs/apache-airflow/core-concepts/overview.rst index 767b7e8990fc4..0a777368d8db6 100644 --- a/docs/apache-airflow/core-concepts/overview.rst +++ b/docs/apache-airflow/core-concepts/overview.rst @@ -163,7 +163,7 @@ DAGs and tasks, but cannot author DAGs. The *DAG files* need to be synchronized between all the components that use them - *scheduler*, *triggerer* and *workers*. The *DAG files* can be synchronized by various mechanisms - typical -ways how DAGs can be synchronized are described in :doc:`helm-chart:manage-dags-files` of our +ways how DAGs can be synchronized are described in :doc:`helm-chart:manage-dag-files` of our Helm Chart documentation. Helm chart is one of the ways how to deploy Airflow in K8S cluster. .. image:: ../img/diagram_distributed_airflow_architecture.png diff --git a/docs/apache-airflow/public-airflow-interface.rst b/docs/apache-airflow/public-airflow-interface.rst index c960c9c805f78..205372f73dc41 100644 --- a/docs/apache-airflow/public-airflow-interface.rst +++ b/docs/apache-airflow/public-airflow-interface.rst @@ -342,10 +342,9 @@ You can read more about auth managers and how to write your own in :doc:`core-co Authentication Backends ----------------------- -Authentication backends can extend the way how Airflow authentication mechanism works. You can find out more -about authentication in :doc:`apache-airflow-providers:core-extensions/auth-backends` that also shows available -Authentication backends implemented in the community providers. In case of authentication backend implemented in a -provider, it is then part of the provider's public interface and not Airflow's. +Authentication backends can extend the way how Airflow authentication mechanism works. Those auth_backends +were available in airflow 2 and has been moved to "FAB" provider authentication backends. +You can read more about authentication backends in :doc:`apache-airflow-providers-fab:index` Connections ----------- diff --git a/docs/exts/includes/sections-and-options.rst b/docs/exts/includes/sections-and-options.rst index f191cf10d5579..8ca1aa4f77712 100644 --- a/docs/exts/includes/sections-and-options.rst +++ b/docs/exts/includes/sections-and-options.rst @@ -86,7 +86,11 @@ {{ "-" * (deprecated_option_name + " (Deprecated)")|length }} .. deprecated:: {{ since_version }} + {% if new_section_name != "celery" %} The option has been moved to :ref:`{{ new_section_name }}.{{ new_option_name }} ` + {% else %} + The option has been moved to Celery Provider :doc:`apache-airflow-providers-celery:index` + {% endif %} {% endfor %} {% endif %} diff --git a/newsfragments/48568.significant.rst b/newsfragments/48568.significant.rst new file mode 100644 index 0000000000000..3d5760a6c8ad9 --- /dev/null +++ b/newsfragments/48568.significant.rst @@ -0,0 +1 @@ +The ``core.worker_precheck`` config option is not effective any more. Celery provider uses ``celery.worker_precheck`` config option in celery provider < 3.5.0 and as of 3.5.0 it is not used at all.