summaryrefslogtreecommitdiffstats
path: root/Documentation/crypto/index.rst
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2023-10-27 10:18:23 +0200
committerJonathan Corbet <corbet@lwn.net>2023-11-17 13:05:26 -0700
commit1f821382818a0dab85dbfff698b0fa0fff18cb36 (patch)
treefe1e5411ae0b62a368dde904ae53362274163a67 /Documentation/crypto/index.rst
parenta37a44572fbb5c3ef65502b76705113dde6eafbf (diff)
downloadlinux-1f821382818a0dab85dbfff698b0fa0fff18cb36.tar.gz
linux-1f821382818a0dab85dbfff698b0fa0fff18cb36.tar.bz2
linux-1f821382818a0dab85dbfff698b0fa0fff18cb36.zip
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
Diffstat (limited to 'Documentation/crypto/index.rst')
-rw-r--r--Documentation/crypto/index.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/crypto/index.rst b/Documentation/crypto/index.rst
index da5d5ad2bdf3..10647c5ae2ea 100644
--- a/Documentation/crypto/index.rst
+++ b/Documentation/crypto/index.rst
@@ -9,11 +9,8 @@ This documentation outlines the Linux kernel crypto API with its
concepts, details about developing cipher implementations, employment of the API
for cryptographic use cases, as well as programming examples.
-.. class:: toc-title
-
- Table of contents
-
.. toctree::
+ :caption: Table of contents
:maxdepth: 2
intro