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.

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

authored by

Vegard Nossum and committed by
Jonathan Corbet
074f8150 eed94315

+2 -8
+1 -4
Documentation/translations/zh_CN/userspace-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 no_new_privs
+1 -4
Documentation/userspace-api/index.rst
··· 9 9 also be found in the kernel tree itself. This manual is intended to be the 10 10 place where this information is gathered. 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 no_new_privs