aboutsummaryrefslogtreecommitdiff
path: root/Documentation/dev-tools
diff options
context:
space:
mode:
authorGravatar Vegard Nossum <vegard.nossum@oracle.com> 2023-10-27 10:18:24 +0200
committerGravatar Jonathan Corbet <corbet@lwn.net> 2023-11-17 13:05:26 -0700
commit93f85555a89904afa215f50971eedfead0f0181b (patch)
treedbe4289ad67c076f25a421ce0a50bed93eb86ffe /Documentation/dev-tools
parentcrypto: doc: properly format ToC headings (diff)
downloadlinux-93f85555a89904afa215f50971eedfead0f0181b.tar.gz
linux-93f85555a89904afa215f50971eedfead0f0181b.tar.bz2
linux-93f85555a89904afa215f50971eedfead0f0181b.zip
Documentation: dev-tools: properly format ToC headingss
"class:: toc-title" was a workaround for older Sphinx versions that are no longer supported. The canonical way to add a heading to the ToC is to use :caption:. Do that. Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: gaochao <gaochao49@huawei.com> Cc: Yanteng Si <siyanteng@loongson.cn> Cc: Wu XiangCheng <bobwxc@email.cn> Cc: Fangrui Song <maskray@google.com> Cc: Wan Jiabing <wanjiabing@vivo.com> Cc: Alex Shi <alexs@kernel.org> Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20231027081830.195056-6-vegard.nossum@oracle.com
Diffstat (limited to 'Documentation/dev-tools')
-rw-r--r--Documentation/dev-tools/index.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/dev-tools/index.rst b/Documentation/dev-tools/index.rst
index 6b0663075dc0..3d2286c683bc 100644
--- a/Documentation/dev-tools/index.rst
+++ b/Documentation/dev-tools/index.rst
@@ -10,11 +10,8 @@ whole; patches welcome!
A brief overview of testing-specific tools can be found in
Documentation/dev-tools/testing-overview.rst
-.. class:: toc-title
-
- Table of contents
-
.. toctree::
+ :caption: Table of contents
:maxdepth: 2
testing-overview