aboutsummaryrefslogtreecommitdiff
path: root/Documentation/input/joydev
diff options
context:
space:
mode:
authorVegard Nossum <[email protected]>2023-10-27 10:18:26 +0200
committerJonathan Corbet <[email protected]>2023-11-17 13:05:26 -0700
commit0dfbd35ed43de622032c80c74e04fca2d1f7ec69 (patch)
treeb288108335716456e0c32adcf184cd5d08bb2eb2 /Documentation/input/joydev
parentf85f5ae45ad945270a8884261de8249431e8b5a6 (diff)
input: docs: 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: Dmitry Torokhov <[email protected]> Cc: [email protected] Signed-off-by: Vegard Nossum <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'Documentation/input/joydev')
-rw-r--r--Documentation/input/joydev/index.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/input/joydev/index.rst b/Documentation/input/joydev/index.rst
index ebcff43056e2..d03d6f6cbfab 100644
--- a/Documentation/input/joydev/index.rst
+++ b/Documentation/input/joydev/index.rst
@@ -6,11 +6,8 @@ Linux Joystick support
:Copyright: |copy| 1996-2000 Vojtech Pavlik <[email protected]> - Sponsored by SuSE
-.. class:: toc-title
-
- Table of Contents
-
.. toctree::
+ :caption: Table of Contents
:maxdepth: 3
joystick