Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

doc: misc-device: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Julien Panis <jpanis@baylibre.com>
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-9-vegard.nossum@oracle.com

authored by

Vegard Nossum and committed by
Jonathan Corbet
0419ee1b 0dfbd35e

+1 -4
+1 -4
Documentation/misc-devices/index.rst
··· 7 7 This documentation contains information for assorted devices that do not 8 8 fit into other categories. 9 9 10 - .. class:: toc-title 11 - 12 - Table of contents 13 - 14 10 .. toctree:: 11 + :caption: Table of contents 15 12 :maxdepth: 2 16 13 17 14 ad525x_dpot