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

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

authored by

Vegard Nossum and committed by
Jonathan Corbet
0dfbd35e f85f5ae4

+3 -12
+1 -4
Documentation/input/input_kapi.rst
··· 4 4 Linux Input Subsystem kernel API 5 5 ################################ 6 6 7 - .. class:: toc-title 8 - 9 - Table of Contents 10 - 11 7 .. toctree:: 8 + :caption: Table of Contents 12 9 :maxdepth: 2 13 10 :numbered: 14 11
+1 -4
Documentation/input/input_uapi.rst
··· 4 4 Linux Input Subsystem userspace API 5 5 ################################### 6 6 7 - .. class:: toc-title 8 - 9 - Table of Contents 10 - 11 7 .. toctree:: 8 + :caption: Table of Contents 12 9 :maxdepth: 2 13 10 :numbered: 14 11
+1 -4
Documentation/input/joydev/index.rst
··· 6 6 7 7 :Copyright: |copy| 1996-2000 Vojtech Pavlik <vojtech@ucw.cz> - Sponsored by SuSE 8 8 9 - .. class:: toc-title 10 - 11 - Table of Contents 12 - 13 9 .. toctree:: 10 + :caption: Table of Contents 14 11 :maxdepth: 3 15 12 16 13 joystick