Re: [PATCH v3] doc: zh_CN: index files in arm64 subdirectory

From: Alex Shi
Date: Fri Sep 25 2020 - 02:40:26 EST




在 2020/9/18 下午4:11, Bailu Lin 写道:
> Add arm64 subdirectory into the table of Contents for zh_CN,
> then add other translations in arm64 conveniently.
>
> Signed-off-by: Bailu Lin <bailu.lin@xxxxxxxx>
> ---
> Changes in v3:
> - Correct email encoding format.
> Changes in v2:
> - Fix patch description.
> ---
> Documentation/arm64/index.rst | 4 ++++
> Documentation/translations/zh_CN/arm64/index.rst | 16 ++++++++++++++++
> Documentation/translations/zh_CN/index.rst | 1 +
> 3 files changed, 21 insertions(+)
> create mode 100644 Documentation/translations/zh_CN/arm64/index.rst
>
> diff --git a/Documentation/arm64/index.rst b/Documentation/arm64/index.rst
> index d9665d83c53a..907cda9c0f71 100644
> --- a/Documentation/arm64/index.rst
> +++ b/Documentation/arm64/index.rst
> @@ -1,3 +1,7 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +

As Jon and Will mentioned, a License claim should be removed...

> +.. _arm64_index:
> +
> ==================
> ARM64 Architecture
> ==================
> diff --git a/Documentation/translations/zh_CN/arm64/index.rst b/Documentation/translations/zh_CN/arm64/index.rst
> new file mode 100644
> index 000000000000..c236b648740d
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/arm64/index.rst
> @@ -0,0 +1,16 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: :ref:`Documentation/arm64/index.rst <arm64_index>`
> +:Translator: Bailu Lin <bailu.lin@xxxxxxxx>
> +
> +.. _cn_arm64_index:
> +
> +
> +==========
> +ARM64 架构
> +==========
> +
> +.. toctree::
> + :maxdepth: 2
> diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
> index 85643e46e308..be6f11176200 100644
> --- a/Documentation/translations/zh_CN/index.rst
> +++ b/Documentation/translations/zh_CN/index.rst
> @@ -19,6 +19,7 @@
> admin-guide/index
> process/index
> filesystems/index
> + arm64/index
>
> 目录和表格
> ----------
>