[2/2] docs/zh_CN: Add userspace-api/index Chinese translation

Message ID 166592154155.8.13781703774239604072.69288121@lirui.org
State New
Headers
Series docs/zh_CN: Add userspace-api/index and ebpf Chinese translation |

Commit Message

Rui Li Oct. 16, 2022, 11:58 a.m. UTC
  Translate userspace-api/index.rst into Chinese, add it into
zh_CN/index.rst.

Signed-off-by: Rui Li <me@lirui.org>
---
 Documentation/translations/zh_CN/index.rst    |  2 +-
 .../zh_CN/userspace-api/index.rst             | 50 +++++++++++++++++++
 2 files changed, 51 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/userspace-api/index.rst
  

Comments

Yanteng Si Oct. 17, 2022, 1:24 p.m. UTC | #1
On 10/16/22 19:58, Rui Li wrote:
> Translate userspace-api/index.rst into Chinese, add it into
> zh_CN/index.rst.
>
> Signed-off-by: Rui Li <me@lirui.org>
> ---
>   Documentation/translations/zh_CN/index.rst    |  2 +-
>   .../zh_CN/userspace-api/index.rst             | 50 +++++++++++++++++++
>   2 files changed, 51 insertions(+), 1 deletion(-)
>   create mode 100644 Documentation/translations/zh_CN/userspace-api/index.rst
>
> diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
> index ec99ef5fe990..272414971ce9 100644
> --- a/Documentation/translations/zh_CN/index.rst
> +++ b/Documentation/translations/zh_CN/index.rst
> @@ -90,12 +90,12 @@ TODOList:
>   
>      admin-guide/index
>      admin-guide/reporting-issues.rst
> +   userspace-api/index
>   
>   TODOList:
>   
>   * 内核构建系统 <kbuild/index>
>   * 用户空间工具 <tools/index>
> -* userspace-api/index
>   
>   也可参考独立于内核文档的 `Linux 手册页 <https://www.kernel.org/doc/man-pages/>`_ 。
>   
> diff --git a/Documentation/translations/zh_CN/userspace-api/index.rst b/Documentation/translations/zh_CN/userspace-api/index.rst
> new file mode 100644
> index 000000000000..4f5bc5530ebd
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/userspace-api/index.rst
> @@ -0,0 +1,50 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/userspace-api/index.rst
> +
> +:翻译:
> +
> + 李睿 Rui Li <me@lirui.org>
> +
> +=====================================
> +Linux 内核用户空间API指南
> +=====================================
Alignment required.
> +
> +.. _man-pages: https://www.kernel.org/doc/man-pages/
> +
> +尽管许多用户空间API的文档被记录在别处(特别是在 man-pages_ 项目中),有关用户
> +空间的部分信息仍然可以在代码树中被找到。这个手册意在成为这些信息聚集的地方。

在代码树中仍然可以找到有关用户空间的部分信息


Thanks,
Yanteng

> +
> +.. class:: toc-title
> +
> +	   目录
> +
> +.. toctree::
> +   :maxdepth: 2
> +
> +   ebpf/index
> +
> +TODOList:
> +
> +* no_new_privs
> +* seccomp_filter
> +* landlock
> +* unshare
> +* spec_ctrl
> +* accelerators/ocxl
> +* ebpf/index
> +* ioctl/index
> +* iommu
> +* media/index
> +* netlink/index
> +* sysfs-platform_profile
> +* vduse
> +* futex2
> +
> +.. only::  subproject and html
> +
> +   Indices
> +   =======
> +
> +   * :ref:`genindex`
> \ No newline at end of file
  

Patch

diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index ec99ef5fe990..272414971ce9 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -90,12 +90,12 @@  TODOList:
 
    admin-guide/index
    admin-guide/reporting-issues.rst
+   userspace-api/index
 
 TODOList:
 
 * 内核构建系统 <kbuild/index>
 * 用户空间工具 <tools/index>
-* userspace-api/index
 
 也可参考独立于内核文档的 `Linux 手册页 <https://www.kernel.org/doc/man-pages/>`_ 。
 
diff --git a/Documentation/translations/zh_CN/userspace-api/index.rst b/Documentation/translations/zh_CN/userspace-api/index.rst
new file mode 100644
index 000000000000..4f5bc5530ebd
--- /dev/null
+++ b/Documentation/translations/zh_CN/userspace-api/index.rst
@@ -0,0 +1,50 @@ 
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/userspace-api/index.rst
+
+:翻译:
+
+ 李睿 Rui Li <me@lirui.org>
+
+=====================================
+Linux 内核用户空间API指南
+=====================================
+
+.. _man-pages: https://www.kernel.org/doc/man-pages/
+
+尽管许多用户空间API的文档被记录在别处(特别是在 man-pages_ 项目中),有关用户
+空间的部分信息仍然可以在代码树中被找到。这个手册意在成为这些信息聚集的地方。
+
+.. class:: toc-title
+
+	   目录
+
+.. toctree::
+   :maxdepth: 2
+
+   ebpf/index
+
+TODOList:
+
+* no_new_privs
+* seccomp_filter
+* landlock
+* unshare
+* spec_ctrl
+* accelerators/ocxl
+* ebpf/index
+* ioctl/index
+* iommu
+* media/index
+* netlink/index
+* sysfs-platform_profile
+* vduse
+* futex2
+
+.. only::  subproject and html
+
+   Indices
+   =======
+
+   * :ref:`genindex`
\ No newline at end of file