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

Configure Feed

Select the types of activity you want to include in your feed.

docs: driver-api: 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: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: SeongJae Park <sj@kernel.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Armin Wolf <W_Armin@gmx.de>
Cc: Iwona Winiarska <iwona.winiarska@intel.com>
Cc: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Cc: linux-media@vger.kernel.org
Cc: Yanteng Si <siyanteng@loongson.cn>
Cc: Alex Shi <alexs@kernel.org>
Cc: Wu XiangCheng <bobwxc@email.cn>
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-7-vegard.nossum@oracle.com

authored by

Vegard Nossum and committed by
Jonathan Corbet
f85f5ae4 93f85555

+6 -26
+1 -4
Documentation/driver-api/index.rst
··· 9 9 of some of those interfaces — it will hopefully get better over time! The 10 10 available subsections can be seen below. 11 11 12 - .. class:: toc-title 13 - 14 - Table of contents 15 - 16 12 .. toctree:: 13 + :caption: Table of contents 17 14 :maxdepth: 2 18 15 19 16 driver-model/index
+1 -6
Documentation/driver-api/media/index.rst
··· 20 20 - for the userspace APIs used on media devices. 21 21 22 22 23 - .. only:: html 24 - 25 - .. class:: toc-title 26 - 27 - Table of Contents 28 - 29 23 .. toctree:: 24 + :caption: Table of Contents 30 25 :maxdepth: 5 31 26 :numbered: 32 27
+1 -6
Documentation/driver-api/mei/index.rst
··· 9 9 **Copyright** |copy| 2019 Intel Corporation 10 10 11 11 12 - .. only:: html 13 - 14 - .. class:: toc-title 15 - 16 - Table of Contents 17 - 18 12 .. toctree:: 13 + :caption: Table of Contents 19 14 :maxdepth: 3 20 15 21 16 mei
+1 -4
Documentation/driver-api/pci/index.rst
··· 4 4 The Linux PCI driver implementer's API guide 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 14 11 pci
+1 -2
Documentation/translations/zh_CN/driver-api/gpio/index.rst
··· 14 14 通用型输入/输出(GPIO) 15 15 ======================= 16 16 17 - 目录: 18 - 19 17 .. toctree:: 18 + :caption: 目录 20 19 :maxdepth: 2 21 20 22 21 legacy
+1 -4
Documentation/translations/zh_CN/driver-api/index.rst
··· 17 17 内核提供了各种各样的接口来支持设备驱动的开发。这份文档只是对其中一些接口进行了 18 18 一定程度的整理——希望随着时间的推移,它能变得更好!可用的小节可以在下面看到。 19 19 20 - .. class:: toc-title 21 - 22 - 目录列表: 23 - 24 20 .. toctree:: 21 + :caption: 目录列表 25 22 :maxdepth: 2 26 23 27 24 gpio/index