This is an automated email from the ASF dual-hosted git repository.
amoghrajesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 19837ed7774 Fix Task SDK docs build failing on coordinator and core
doc references (#67889)
19837ed7774 is described below
commit 19837ed7774a7f6503c808303bb710978085af29
Author: Jeongwoo Do <[email protected]>
AuthorDate: Tue Jun 2 21:11:47 2026 +0900
Fix Task SDK docs build failing on coordinator and core doc references
(#67889)
---
task-sdk/docs/api.rst | 2 +-
task-sdk/docs/conf.py | 3 +++
task-sdk/src/airflow/sdk/coordinators/__init__.py | 19 +++++++++++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/task-sdk/docs/api.rst b/task-sdk/docs/api.rst
index 5be912803b3..9b8ac5782cb 100644
--- a/task-sdk/docs/api.rst
+++ b/task-sdk/docs/api.rst
@@ -258,7 +258,7 @@ Coordinators
------------
Coordinators bridge the Airflow worker and a non-Python language runtime.
-See :doc:`airflow:authoring-and-scheduling/language-sdks/index` for a
conceptual overview.
+See :doc:`apache-airflow:authoring-and-scheduling/language-sdks/index` for a
conceptual overview.
.. rubric:: JVM
diff --git a/task-sdk/docs/conf.py b/task-sdk/docs/conf.py
index b83fe2f1578..07925d43d25 100644
--- a/task-sdk/docs/conf.py
+++ b/task-sdk/docs/conf.py
@@ -55,6 +55,7 @@ extensions = [
"sphinx.ext.autodoc",
"autoapi.extension",
"sphinx.ext.intersphinx",
+ "airflow_intersphinx",
"exampleinclude",
"sphinxcontrib.spelling",
]
@@ -100,6 +101,8 @@ rst_epilog = "\n".join(f".. |{key}| replace:: {replace}"
for key, replace in glo
intersphinx_resolve_self = "airflow"
+# ``airflow:`` resolves against the published site; ``apache-airflow:`` (added
by
+# airflow_intersphinx) against the local inventory — use it for
not-yet-published pages.
intersphinx_mapping = {
"airflow": ("https://airflow.apache.org/docs/apache-airflow/stable/",
None),
}
diff --git a/task-sdk/src/airflow/sdk/coordinators/__init__.py
b/task-sdk/src/airflow/sdk/coordinators/__init__.py
new file mode 100644
index 00000000000..cd1a53389f1
--- /dev/null
+++ b/task-sdk/src/airflow/sdk/coordinators/__init__.py
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""Coordinators that bridge the Airflow worker and non-Python language
runtimes."""
+
+from __future__ import annotations