summaryrefslogtreecommitdiff
path: root/Documentation/translations/zh_CN/userspace-api
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2023-10-27 11:18:21 +0300
committerJonathan Corbet <corbet@lwn.net>2023-11-17 23:05:26 +0300
commit074f81506d9869d2750e3be2cecec163e8c0b1f1 (patch)
tree1c15319c142f2f178ed1279c78c4508270769a33 /Documentation/translations/zh_CN/userspace-api
parenteed94315555a441028238a4d05c6f86997d9e68e (diff)
downloadlinux-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/translations/zh_CN/userspace-api')
-rw-r--r--Documentation/translations/zh_CN/userspace-api/index.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/translations/zh_CN/userspace-api/index.rst b/Documentation/translations/zh_CN/userspace-api/index.rst
index 5dc0f2e69c17..5b14721c8264 100644
--- a/Documentation/translations/zh_CN/userspace-api/index.rst
+++ b/Documentation/translations/zh_CN/userspace-api/index.rst
@@ -17,11 +17,8 @@ Linux 内核用户空间API指南
在代码树中仍然可以找到有关用户空间的部分信息。这个手册意在成为这些信息
聚集的地方。
-.. class:: toc-title
-
- 目录
-
.. toctree::
+ :caption: 目录
:maxdepth: 2
no_new_privs