linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Wang Wenhu <wenhu.wang@vivo.com>
Cc: Jonathan Corbet <corbet@lwn.net>, Vivek Goyal <vgoyal@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>,
	Miklos Szeredi <miklos@szeredi.hu>,
	Harry Wei <harryxiyou@gmail.com>,
	Alex Shi <alex.shi@linux.alibaba.com>,
	"Daniel W. S. Almeida" <dwlsalmeida@gmail.com>,
	Eric Biggers <ebiggers@google.com>,
	Jaskaran Singh <jaskaransingh7654321@gmail.com>,
	"Matthew Wilcox (Oracle)" <willy@infradead.org>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	linux-fsdevel@vger.kernel.org, kernel@vivo.com
Subject: Re: [PATCH v2,1/2] doc: zh_CN: index files in filesystems subdirectory
Date: Mon, 16 Mar 2020 07:57:35 +0100	[thread overview]
Message-ID: <20200316075735.67793bfc@coco.lan> (raw)
In-Reply-To: <20200315155258.91725-1-wenhu.wang@vivo.com>

Em Sun, 15 Mar 2020 08:52:38 -0700
Wang Wenhu <wenhu.wang@vivo.com> 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@vivo.com>
> ---
> Changelog:
>  - v2 added SPDX header
> ---
>  Documentation/filesystems/index.rst           |  2 ++
>  .../translations/zh_CN/filesystems/index.rst  | 29 +++++++++++++++++++
>  Documentation/translations/zh_CN/index.rst    |  1 +
>  3 files changed, 32 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:
> +
>  ===============================
>  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..0a2cabfeaf7b
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/filesystems/index.rst
> @@ -0,0 +1,29 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. raw:: latex
> +
> +	\renewcommand\thesection*
> +	\renewcommand\thesubsection*

Out of curiosity: why do you add those?

My experience with raw latex is that adding things like that tend to
break with different Sphinx versions. So, if this is really needed, I
suggest you to test with at least Sphinx 1.7.9 and with the latest
version, to be sure that it won't cause troubles.

Except for that, patch looks ok to me.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

Regards,
Mauro

> +
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: :ref:`Documentation/filesystems/index.rst <filesystems_index>`
> +:Translator: Wang Wenhu <wenhu.wang@vivo.com>
> +
> +.. _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

  parent reply	other threads:[~2020-03-16  6:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-15  9:27 [PATCH 0/2] doc: zh_CN: facilitate translation for filesystems Wang Wenhu
2020-03-15  9:27 ` [PATCH 1/2] doc: zh_CN: index files in filesystems subdirectory Wang Wenhu
2020-03-15 13:28   ` Mauro Carvalho Chehab
2020-03-15  9:28 ` [PATCH 2/2] doc: zh_CN: add translation for virtiofs Wang Wenhu
2020-03-15 11:43   ` [PATCH v2,2/2] " Wang Wenhu
2020-03-15 13:28   ` [PATCH 2/2] " Mauro Carvalho Chehab
2020-03-15 10:12 ` [PATCH 0/2] doc: zh_CN: facilitate translation for filesystems Stefan Hajnoczi
2020-03-15 15:52 ` [PATCH v2,1/2] doc: zh_CN: index files in filesystems subdirectory Wang Wenhu
2020-03-15 15:52   ` [PATCH v2,2/2] doc: zh_CN: add translation for virtiofs Wang Wenhu
2020-03-16  7:01     ` Mauro Carvalho Chehab
2020-03-16  7:44     ` Alex Shi
2020-03-16  6:57   ` Mauro Carvalho Chehab [this message]
2020-03-16  7:44   ` [PATCH v2,1/2] doc: zh_CN: index files in filesystems subdirectory Alex Shi
2020-03-16 11:01   ` [PATCH v3,1/2] " Wang Wenhu
2020-03-16 11:01     ` [PATCH v3,2/2] doc: zh_CN: add translation for virtiofs Wang Wenhu
2020-03-20 23:19     ` [PATCH v3,1/2] doc: zh_CN: index files in filesystems subdirectory Jonathan Corbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200316075735.67793bfc@coco.lan \
    --to=mchehab+huawei@kernel.org \
    --cc=alex.shi@linux.alibaba.com \
    --cc=corbet@lwn.net \
    --cc=dwlsalmeida@gmail.com \
    --cc=ebiggers@google.com \
    --cc=harryxiyou@gmail.com \
    --cc=jaskaransingh7654321@gmail.com \
    --cc=kernel@vivo.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=stefanha@redhat.com \
    --cc=vgoyal@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=wenhu.wang@vivo.com \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).