This is an automated email from the ASF dual-hosted git repository.
kaxil pushed a commit to branch v3-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-4-test by this push:
new 57e21d22ecf [v3-4-test] Limit the CLI reference's page contents to
top-level commands (#75483) (#75501)
57e21d22ecf is described below
commit 57e21d22ecf63979414e68586e88d364ae3cb2d3
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Oct 23 17:05:28 2026 +0100
[v3-4-test] Limit the CLI reference's page contents to top-level commands
(#75483) (#75501)
sphinx-argparse makes every sub-command and its argument groups a
section, so the right-hand contents on the CLI reference pages listed
about 290 entries, mostly repeated Named Arguments, Positional Arguments
and Sub-commands. A :tocdepth: of 4 stops the contents at the top-level
commands; the full reference stays on the page.
The field goes above the license header, and an empty comment ends it,
because the indented license would otherwise be read as part of the
field's value.
(cherry picked from commit d613e999deeee19e3358042eaf507ef2fd479fd2)
Co-authored-by: Kaxil Naik <[email protected]>
---
airflow-core/docs/cli-and-env-variables-ref.rst | 3 +++
airflow-ctl/docs/cli-and-env-variables-ref.rst | 3 +++
2 files changed, 6 insertions(+)
diff --git a/airflow-core/docs/cli-and-env-variables-ref.rst
b/airflow-core/docs/cli-and-env-variables-ref.rst
index abf53aee77d..d7ae020b7e1 100644
--- a/airflow-core/docs/cli-and-env-variables-ref.rst
+++ b/airflow-core/docs/cli-and-env-variables-ref.rst
@@ -1,3 +1,6 @@
+:tocdepth: 4
+
+..
.. 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
diff --git a/airflow-ctl/docs/cli-and-env-variables-ref.rst
b/airflow-ctl/docs/cli-and-env-variables-ref.rst
index 0df55ae9f12..4841a801188 100644
--- a/airflow-ctl/docs/cli-and-env-variables-ref.rst
+++ b/airflow-ctl/docs/cli-and-env-variables-ref.rst
@@ -1,3 +1,6 @@
+:tocdepth: 4
+
+..
.. 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