From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751298AbdAYEPF (ORCPT ); Tue, 24 Jan 2017 23:15:05 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:35251 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbdAYEOu (ORCPT ); Tue, 24 Jan 2017 23:14:50 -0500 From: Andy Deng To: corbet@lwn.net Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Deng Subject: [PATCH v2 3/3] docs/zh_CN: Add coding-style into docs build system Date: Wed, 25 Jan 2017 12:14:33 +0800 Message-Id: <20170125041433.9713-3-theandy.deng@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170125041433.9713-1-theandy.deng@gmail.com> References: <20170125041433.9713-1-theandy.deng@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tested by the command: make htmldocs During the compiling process, zh_CN/coding-style.rst has no errors and warnings generated, the generated html document has been checked. Signed-off-by: Andy Deng --- Documentation/index.rst | 10 +++++++++- .../translations/zh_CN/{CodingStyle => coding-style.rst} | 0 Documentation/translations/zh_CN/index.rst | 12 ++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) rename Documentation/translations/zh_CN/{CodingStyle => coding-style.rst} (100%) create mode 100644 Documentation/translations/zh_CN/index.rst diff --git a/Documentation/index.rst b/Documentation/index.rst index cb5d776..f6e641a 100644 --- a/Documentation/index.rst +++ b/Documentation/index.rst @@ -47,7 +47,7 @@ These books get into the details of how specific kernel subsystems work from the point of view of a kernel developer. Much of the information here is taken directly from the kernel source, with supplemental material added as needed (or at least as we managed to add it — probably *not* all that is -needed). +needed). .. toctree:: :maxdepth: 2 @@ -68,6 +68,14 @@ Korean translations translations/ko_KR/index +Chinese translations +-------------------- + +.. toctree:: + :maxdepth: 1 + + translations/zh_CN/index + Indices and tables ================== diff --git a/Documentation/translations/zh_CN/CodingStyle b/Documentation/translations/zh_CN/coding-style.rst similarity index 100% rename from Documentation/translations/zh_CN/CodingStyle rename to Documentation/translations/zh_CN/coding-style.rst diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst new file mode 100644 index 0000000..75956d6 --- /dev/null +++ b/Documentation/translations/zh_CN/index.rst @@ -0,0 +1,12 @@ +.. raw:: latex + + \renewcommand\thesection* + \renewcommand\thesubsection* + +Chinese translations +==================== + +.. toctree:: + :maxdepth: 1 + + coding-style -- 2.9.3