diff options
author | Vegard Nossum <[email protected]> | 2023-10-27 10:18:27 +0200 |
---|---|---|
committer | Jonathan Corbet <[email protected]> | 2023-11-17 13:05:26 -0700 |
commit | 0419ee1b62f37bf9d654bfacd9a4991f588d03ad (patch) | |
tree | b83931b040ed4aa216aa2b5606e12597cd4b1f2a | |
parent | 0dfbd35ed43de622032c80c74e04fca2d1f7ec69 (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 <[email protected]>
Cc: Julien Panis <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | Documentation/misc-devices/index.rst | 5 |
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 |