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.

crypto: doc: 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: Stephan Mueller <smueller@chronox.de>
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-5-vegard.nossum@oracle.com

authored by

Vegard Nossum and committed by
Jonathan Corbet
1f821382 a37a4457

+2 -8
+1 -4
Documentation/crypto/api.rst
··· 1 1 Programming Interface 2 2 ===================== 3 3 4 - .. class:: toc-title 5 - 6 - Table of contents 7 - 8 4 .. toctree:: 5 + :caption: Table of contents 9 6 :maxdepth: 2 10 7 11 8 api-skcipher
+1 -4
Documentation/crypto/index.rst
··· 9 9 concepts, details about developing cipher implementations, employment of the API 10 10 for cryptographic use cases, as well as programming examples. 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 intro