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

From: Alex Shi
Date: Sat Sep 26 2020 - 02:23:13 EST


Reviewed-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>

在 2020/9/26 上午10:25, 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 v5:
> - Remove zh_CN/arm64/index.rst's inappropriate License claim.
> Changes in v4:
> - Remove index.rst's inappropriate License claim.
> Changes in v3:
> - Correct email encoding format.
> Changes in v2:
> - Fix patch description.
> ---
> Documentation/arm64/index.rst | 2 ++
> Documentation/translations/zh_CN/arm64/index.rst | 14 ++++++++++++++
> Documentation/translations/zh_CN/index.rst | 1 +
> 3 files changed, 17 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..3ebe0fa31948 100644
> --- a/Documentation/arm64/index.rst
> +++ b/Documentation/arm64/index.rst
> @@ -1,3 +1,5 @@
> +.. _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..57545f19ab2d
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/arm64/index.rst
> @@ -0,0 +1,14 @@
> +.. 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
>
> 目录和表格
> ----------
>