This is an automated email from the ASF dual-hosted git repository.
jscheffl 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 daad42d90cb docs: add DAG documentation for example_bash_operator
(#61316)
daad42d90cb is described below
commit daad42d90cb3fe41c2ffc7053eef22fecb2d877a
Author: Namrata Sahu <[email protected]>
AuthorDate: Sun Feb 1 19:36:31 2026 +0530
docs: add DAG documentation for example_bash_operator (#61316)
---
.../standard/example_dags/example_bash_operator.py | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git
a/providers/standard/src/airflow/providers/standard/example_dags/example_bash_operator.py
b/providers/standard/src/airflow/providers/standard/example_dags/example_bash_operator.py
index a4fb3161ab6..722967cd224 100644
---
a/providers/standard/src/airflow/providers/standard/example_dags/example_bash_operator.py
+++
b/providers/standard/src/airflow/providers/standard/example_dags/example_bash_operator.py
@@ -36,6 +36,21 @@ with DAG(
tags=["example", "example2"],
params={"example_key": "example_value"},
) as dag:
+ dag.doc_md = """
+ ### Example BashOperator DAG
+
+ This DAG demonstrates how to use the **BashOperator** to execute shell
commands
+ as part of an Apache Airflow workflow.
+
+ **What this DAG shows:**
+ - Defining tasks using `BashOperator`
+ - Executing simple bash commands
+ - Creating task dependencies, including loops and templated commands
+
+ This example is intended for beginners who want to understand how Airflow
+ interacts with system-level commands using bash.
+ """
+
run_this_last = EmptyOperator(
task_id="run_this_last",
)