summaryrefslogtreecommitdiff
path: root/Documentation/input/input_uapi.rst
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2023-10-27 11:18:26 +0300
committerJonathan Corbet <corbet@lwn.net>2023-11-17 23:05:26 +0300
commit0dfbd35ed43de622032c80c74e04fca2d1f7ec69 (patch)
treeb288108335716456e0c32adcf184cd5d08bb2eb2 /Documentation/input/input_uapi.rst
parentf85f5ae45ad945270a8884261de8249431e8b5a6 (diff)
downloadlinux-0dfbd35ed43de622032c80c74e04fca2d1f7ec69.tar.xz
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 <dmitry.torokhov@gmail.com> Cc: linux-input@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-8-vegard.nossum@oracle.com
Diffstat (limited to 'Documentation/input/input_uapi.rst')
-rw-r--r--Documentation/input/input_uapi.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/input/input_uapi.rst b/Documentation/input/input_uapi.rst
index 4a0391609327..8275b4223a84 100644
--- a/Documentation/input/input_uapi.rst
+++ b/Documentation/input/input_uapi.rst
@@ -4,11 +4,8 @@
Linux Input Subsystem userspace API
###################################
-.. class:: toc-title
-
- Table of Contents
-
.. toctree::
+ :caption: Table of Contents
:maxdepth: 2
:numbered: