diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2023-10-27 11:18:21 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-11-17 23:05:26 +0300 |
commit | 074f81506d9869d2750e3be2cecec163e8c0b1f1 (patch) | |
tree | 1c15319c142f2f178ed1279c78c4508270769a33 /Documentation/userspace-api/index.rst | |
parent | eed94315555a441028238a4d05c6f86997d9e68e (diff) | |
download | linux-074f81506d9869d2750e3be2cecec163e8c0b1f1.tar.xz |
doc: userspace-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: Rui Li <me@lirui.org>
Cc: Yanteng Si <siyanteng@loongson.cn>
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-3-vegard.nossum@oracle.com
Diffstat (limited to 'Documentation/userspace-api/index.rst')
-rw-r--r-- | Documentation/userspace-api/index.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/userspace-api/index.rst b/Documentation/userspace-api/index.rst index 72a65db0c498..5b32a461c2dd 100644 --- a/Documentation/userspace-api/index.rst +++ b/Documentation/userspace-api/index.rst @@ -9,11 +9,8 @@ While much of the kernel's user-space API is documented elsewhere also be found in the kernel tree itself. This manual is intended to be the place where this information is gathered. -.. class:: toc-title - - Table of contents - .. toctree:: + :caption: Table of contents :maxdepth: 2 no_new_privs |