You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/10/25 13:22:18 UTC

(airflow) branch main updated: Automatically publish "apache-airflow-providers" docs (#57229)

This is an automated email from the ASF dual-hosted git repository.

potiuk 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 c5b7fbb369f Automatically publish "apache-airflow-providers" docs (#57229)
c5b7fbb369f is described below

commit c5b7fbb369f5396c494557db15263fa19da68d1b
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sat Oct 25 15:22:11 2025 +0200

    Automatically publish "apache-airflow-providers" docs (#57229)
    
    When any provider is published, we should also automatically
    build and publish "apache-airflow-providers" documentation which
    contains summary and "general" providers documentation.
---
 dev/breeze/src/airflow_breeze/commands/workflow_commands.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/workflow_commands.py b/dev/breeze/src/airflow_breeze/commands/workflow_commands.py
index 359c5fe95d3..886b2fc824a 100644
--- a/dev/breeze/src/airflow_breeze/commands/workflow_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/workflow_commands.py
@@ -178,10 +178,14 @@ def workflow_run_publish(
     if airflow_version and not airflow_base_version:
         airflow_base_version = Version(airflow_version).base_version
 
+    joined_packages = " ".join(doc_packages)
+    if "providers" in joined_packages and "apache-airflow-providers" not in joined_packages:
+        joined_packages = joined_packages + " apache-airflow-providers"
+
     workflow_fields = {
         "ref": ref,
         "destination": site_env,
-        "include-docs": " ".join(doc_packages),
+        "include-docs": joined_packages,
         "exclude-docs": exclude_docs,
         "skip-write-to-stable-folder": skip_write_to_stable_folder,
         "build-sboms": "true" if "apache-airflow" in doc_packages else "false",