diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2023-10-27 11:18:22 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-11-17 23:05:26 +0300 |
commit | a37a44572fbb5c3ef65502b76705113dde6eafbf (patch) | |
tree | 77e5d0027eaf846d4c68db532dbb03e64969d069 | |
parent | 074f81506d9869d2750e3be2cecec163e8c0b1f1 (diff) | |
download | linux-a37a44572fbb5c3ef65502b76705113dde6eafbf.tar.xz |
media: admin-guide: properly format ToC heading
"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>
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-4-vegard.nossum@oracle.com
-rw-r--r-- | Documentation/admin-guide/media/index.rst | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Documentation/admin-guide/media/index.rst b/Documentation/admin-guide/media/index.rst index 43f4a292b245..be7e0e4482ca 100644 --- a/Documentation/admin-guide/media/index.rst +++ b/Documentation/admin-guide/media/index.rst @@ -20,16 +20,8 @@ Documentation/driver-api/media/index.rst - for driver development information and Kernel APIs used by media devices; -The media subsystem -=================== - -.. only:: html - - .. class:: toc-title - - Table of Contents - .. toctree:: + :caption: Table of Contents :maxdepth: 2 :numbered: |