summaryrefslogtreecommitdiff
path: root/Documentation/misc-devices
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2023-10-27 10:18:27 +0200
committerJonathan Corbet <corbet@lwn.net>2023-11-17 13:05:26 -0700
commit0419ee1b62f37bf9d654bfacd9a4991f588d03ad (patch)
treeb83931b040ed4aa216aa2b5606e12597cd4b1f2a /Documentation/misc-devices
parent0dfbd35ed43de622032c80c74e04fca2d1f7ec69 (diff)
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
Diffstat (limited to 'Documentation/misc-devices')
-rw-r--r--Documentation/misc-devices/index.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/misc-devices/index.rst b/Documentation/misc-devices/index.rst
index ecc40fbbcfb8..1fc89d664830 100644
--- a/Documentation/misc-devices/index.rst
+++ b/Documentation/misc-devices/index.rst
@@ -7,11 +7,8 @@ Assorted Miscellaneous Devices Documentation
This documentation contains information for assorted devices that do not
fit into other categories.
-.. class:: toc-title
-
- Table of contents
-
.. toctree::
+ :caption: Table of contents
:maxdepth: 2
ad525x_dpot