Re: [PATCH 1/2] doc: zh_CN: index files in filesystems subdirectory

From: Mauro Carvalho Chehab
Date: Sun Mar 15 2020 - 09:29:10 EST


Em Sun, 15 Mar 2020 02:27:59 -0700
Wang Wenhu <wenhu.wang@xxxxxxxx> escreveu:

> Add filesystems subdirectory into the table of Contents for zh_CN,
> all translations residing on it would be indexed conveniently.
>
> Signed-off-by: Wang Wenhu <wenhu.wang@xxxxxxxx>
> ---
> Documentation/filesystems/index.rst | 2 ++
> .../translations/zh_CN/filesystems/index.rst | 27 +++++++++++++++++++
> Documentation/translations/zh_CN/index.rst | 1 +
> 3 files changed, 30 insertions(+)
> create mode 100644 Documentation/translations/zh_CN/filesystems/index.rst
>
> diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst
> index 386eaad008b2..ab47d5b1f092 100644
> --- a/Documentation/filesystems/index.rst
> +++ b/Documentation/filesystems/index.rst
> @@ -1,3 +1,5 @@
> +.. _filesystems_index:
> +

Please add a SPDX header on the top.

Regards,
Mauro

> ===============================
> Filesystems in the Linux kernel
> ===============================
> diff --git a/Documentation/translations/zh_CN/filesystems/index.rst b/Documentation/translations/zh_CN/filesystems/index.rst
> new file mode 100644
> index 000000000000..a47dd86d6196
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/filesystems/index.rst
> @@ -0,0 +1,27 @@
> +.. raw:: latex
> +
> + \renewcommand\thesection*
> + \renewcommand\thesubsection*
> +
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: :ref:`Documentation/filesystems/index.rst <filesystems_index>`
> +:Translator: Wang Wenhu <wenhu.wang@xxxxxxxx>
> +
> +.. _cn_filesystems_index:
> +
> +========================
> +Linux Kerneläçæäçç
> +========================
> +
> +èäæåååçæåæèåæææäèççæåéäææçåååLinuxèæ\
> +æäççïVFSïåäååäåäçåçæäççåäåäåççååãåå\
> +åäçåäéçååã
> +
> +æäçç
> +========
> +
> +æäççåçææã
> +
> +.. toctree::
> + :maxdepth: 2
> diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
> index d3165535ec9e..76850a5dd982 100644
> --- a/Documentation/translations/zh_CN/index.rst
> +++ b/Documentation/translations/zh_CN/index.rst
> @@ -14,6 +14,7 @@
> :maxdepth: 2
>
> process/index
> + filesystems/index
>
> çååèæ
> ----------



Thanks,
Mauro