This is an automated email from the ASF dual-hosted git repository.
Miretpl 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 637a55f0744 Fix Sphinx error in CLI reference docs for dags test
command (#71120)
637a55f0744 is described below
commit 637a55f0744ac85f7b8c8a2a3436946182912c82
Author: Andrii Roiko <[email protected]>
AuthorDate: Tue Aug 25 23:36:23 2026 +0300
Fix Sphinx error in CLI reference docs for dags test command (#71120)
The CLI reference docs page is generated from the argparse help strings,
and the dags test description was not valid reStructuredText: without a
blank line before the numbered list, docutils reported "Unexpected
indentation" and Sphinx rendered a System Message error box instead of
the usage examples on cli-and-env-variables-ref.html.
---
airflow-core/src/airflow/cli/cli_config.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/airflow-core/src/airflow/cli/cli_config.py
b/airflow-core/src/airflow/cli/cli_config.py
index 06c8819136b..21b2099c3c7 100644
--- a/airflow-core/src/airflow/cli/cli_config.py
+++ b/airflow-core/src/airflow/cli/cli_config.py
@@ -1387,6 +1387,7 @@ DAGS_COMMANDS = (
"Execute one single DagRun for a given DAG and logical date.\n"
"\n"
"You can test a DAG in three ways:\n"
+ "\n"
"1. Using default bundle:\n"
" airflow dags test <DAG_ID>\n"
"\n"