From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 599BBC1975A for ; Mon, 16 Mar 2020 06:57:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2137E20679 for ; Mon, 16 Mar 2020 06:57:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584341868; bh=5zgqZ+lC2w3G6u62PnaBiALMfh5z+Y/dN/3kNhT9XmQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=xQ7W6x3gPlMug3KohjBdM2utxdxW35WNYmUc6nH5R97PIhLBbRJjn6XgNw9fPgbgI PjT/xZxRf98M1tiAABkidIwSzeJqenbM7/af4LnWh71mrjsfQruVFJQ9TYAK5ltueC 16ujafIVkCk5H5+cutsE4iXCdmpYsKQzCHgPBn7A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729783AbgCPG5r (ORCPT ); Mon, 16 Mar 2020 02:57:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:42372 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729319AbgCPG5q (ORCPT ); Mon, 16 Mar 2020 02:57:46 -0400 Received: from coco.lan (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E1FFA20674; Mon, 16 Mar 2020 06:57:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584341865; bh=5zgqZ+lC2w3G6u62PnaBiALMfh5z+Y/dN/3kNhT9XmQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Vgj3Z3lW9nxL5aI13Z5x1A42+AQcPMuGBOjQwt97L+1vViDSSdU7vl+y0ceS5o/fR xLE1Ld6c14m+cyMmut2nE5BiJG/tIFrfAkDQHoOFSlAHeKcHTtNH5uQB6BWvS3Br/A NQCA6cCMtNy+X67wQp/WmkNx1MHzkO55o6Psr3G0= Date: Mon, 16 Mar 2020 07:57:35 +0100 From: Mauro Carvalho Chehab To: Wang Wenhu Cc: Jonathan Corbet , Vivek Goyal , Stefan Hajnoczi , Miklos Szeredi , Harry Wei , Alex Shi , "Daniel W. S. Almeida" , Eric Biggers , Jaskaran Singh , "Matthew Wilcox (Oracle)" , 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 Message-ID: <20200316075735.67793bfc@coco.lan> In-Reply-To: <20200315155258.91725-1-wenhu.wang@vivo.com> References: <20200315092810.87008-1-wenhu.wang@vivo.com> <20200315155258.91725-1-wenhu.wang@vivo.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sun, 15 Mar 2020 08:52:38 -0700 Wang Wenhu escreveu: > Add filesystems subdirectory into the table of Contents for zh_CN, > all translations residing on it would be indexed conveniently. >=20 > Signed-off-by: Wang Wenhu > --- > 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 >=20 > diff --git a/Documentation/filesystems/index.rst b/Documentation/filesyst= ems/index.rst > index 386eaad008b2..ab47d5b1f092 100644 > --- a/Documentation/filesystems/index.rst > +++ b/Documentation/filesystems/index.rst > @@ -1,3 +1,5 @@ > +.. _filesystems_index: > + > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > Filesystems in the Linux kernel > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D > diff --git a/Documentation/translations/zh_CN/filesystems/index.rst b/Doc= umentation/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 Regards, Mauro > + > +.. include:: ../disclaimer-zh_CN.rst > + > +:Original: :ref:`Documentation/filesystems/index.rst ` > +:Translator: Wang Wenhu > + > +.. _cn_filesystems_index: > + > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +Linux Kernel=E4=B8=AD=E7=9A=84=E6=96=87=E4=BB=B6=E7=B3=BB=E7=BB=9F > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +=E8=BF=99=E4=BB=BD=E6=AD=A3=E5=9C=A8=E5=BC=80=E5=8F=91=E7=9A=84=E6=89=8B= =E5=86=8C=E6=88=96=E8=AE=B8=E5=9C=A8=E6=9C=AA=E6=9D=A5=E6=9F=90=E4=B8=AA=E8= =BE=89=E7=85=8C=E7=9A=84=E6=97=A5=E5=AD=90=E9=87=8C=E4=BB=A5=E6=98=93=E6=87= =82=E7=9A=84=E5=BD=A2=E5=BC=8F=E5=B0=86Linux=E8=99=9A=E6=8B=9F\ > +=E6=96=87=E4=BB=B6=E7=B3=BB=E7=BB=9F=EF=BC=88VFS=EF=BC=89=E5=B1=82=E4=BB= =A5=E5=8F=8A=E5=9F=BA=E4=BA=8E=E5=85=B6=E4=B8=8A=E7=9A=84=E5=90=84=E7=A7=8D= =E6=96=87=E4=BB=B6=E7=B3=BB=E7=BB=9F=E5=A6=82=E4=BD=95=E5=B7=A5=E4=BD=9C=E5= =91=88=E7=8E=B0=E7=BB=99=E5=A4=A7=E5=AE=B6=E3=80=82=E5=BD=93=E5=89=8D\ > +=E5=8F=AF=E4=BB=A5=E7=9C=8B=E5=88=B0=E4=B8=8B=E9=9D=A2=E7=9A=84=E5=86=85= =E5=AE=B9=E3=80=82 > + > +=E6=96=87=E4=BB=B6=E7=B3=BB=E7=BB=9F > +=3D=3D=3D=3D=3D=3D=3D=3D > + > +=E6=96=87=E4=BB=B6=E7=B3=BB=E7=BB=9F=E5=AE=9E=E7=8E=B0=E6=96=87=E6=A1=A3= =E3=80=82 > + > +.. toctree:: > + :maxdepth: 2 > + > diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/t= ranslations/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 > =20 > process/index > + filesystems/index > =20 > =E7=9B=AE=E5=BD=95=E5=92=8C=E8=A1=A8=E6=A0=BC > ---------- Thanks, Mauro