diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2023-10-27 10:18:25 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-11-17 21:05:26 +0100 |
commit | f85f5ae45ad945270a8884261de8249431e8b5a6 (patch) | |
tree | 285b1c5ad7832fdb25b270acbda2371326a3e714 /Documentation/driver-api/pci | |
parent | Documentation: dev-tools: properly format ToC headingss (diff) | |
download | linux-f85f5ae45ad945270a8884261de8249431e8b5a6.tar.xz linux-f85f5ae45ad945270a8884261de8249431e8b5a6.zip |
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
Diffstat (limited to 'Documentation/driver-api/pci')
-rw-r--r-- | Documentation/driver-api/pci/index.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/driver-api/pci/index.rst b/Documentation/driver-api/pci/index.rst index c6cf1fef61ce..a38e475cdbe3 100644 --- a/Documentation/driver-api/pci/index.rst +++ b/Documentation/driver-api/pci/index.rst @@ -4,11 +4,8 @@ The Linux PCI driver implementer's API guide ============================================ -.. class:: toc-title - - Table of contents - .. toctree:: + :caption: Table of contents :maxdepth: 2 pci |