]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: doc: properly format ToC headings
authorVegard Nossum <vegard.nossum@oracle.com>
Fri, 27 Oct 2023 08:18:28 +0000 (10:18 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 17 Nov 2023 20:05:26 +0000 (13:05 -0700)
commit58af66464440c755001a74826f185e0b4bd159db
treedc37d70d6cbe257bc7727cceedaabb6e59317c20
parent0419ee1b62f37bf9d654bfacd9a4991f588d03ad
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
Documentation/userspace-api/media/cec/cec-api.rst
Documentation/userspace-api/media/drivers/index.rst
Documentation/userspace-api/media/dvb/dvbapi.rst
Documentation/userspace-api/media/index.rst
Documentation/userspace-api/media/mediactl/media-controller.rst
Documentation/userspace-api/media/rc/remote_controllers.rst
Documentation/userspace-api/media/v4l/v4l2.rst