summaryrefslogtreecommitdiffstats
path: root/Documentation/userspace-api/media/v4l
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2023-10-27 10:18:28 +0200
committerJonathan Corbet <corbet@lwn.net>2023-11-17 21:05:26 +0100
commit58af66464440c755001a74826f185e0b4bd159db (patch)
treedc37d70d6cbe257bc7727cceedaabb6e59317c20 /Documentation/userspace-api/media/v4l
parentdoc: misc-device: properly format ToC heading (diff)
downloadlinux-58af66464440c755001a74826f185e0b4bd159db.tar.xz
linux-58af66464440c755001a74826f185e0b4bd159db.zip
media: doc: properly format ToC headings
"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: linux-media@vger.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-10-vegard.nossum@oracle.com
Diffstat (limited to 'Documentation/userspace-api/media/v4l')
-rw-r--r--Documentation/userspace-api/media/v4l/v4l2.rst7
1 files changed, 1 insertions, 6 deletions
diff --git a/Documentation/userspace-api/media/v4l/v4l2.rst b/Documentation/userspace-api/media/v4l/v4l2.rst
index ad7a2bf0cf26..cf8ae56a008c 100644
--- a/Documentation/userspace-api/media/v4l/v4l2.rst
+++ b/Documentation/userspace-api/media/v4l/v4l2.rst
@@ -11,13 +11,8 @@ This part describes the Video for Linux API version 2 (V4L2 API) specification.
**Revision 4.5**
-.. only:: html
-
- .. class:: toc-title
-
- Table of Contents
-
.. toctree::
+ :caption: Table of Contents
:numbered:
:maxdepth: 5