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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham 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 5B0C1C433B4 for ; Thu, 6 May 2021 07:58:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1842D613BA for ; Thu, 6 May 2021 07:58:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233618AbhEFH7Z (ORCPT ); Thu, 6 May 2021 03:59:25 -0400 Received: from mail.loongson.cn ([114.242.206.163]:42712 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233541AbhEFH7Y (ORCPT ); Thu, 6 May 2021 03:59:24 -0400 Received: from localhost.localdomain (unknown [112.3.197.94]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9AxnciWoZNgtq0SAA--.24213S2; Thu, 06 May 2021 15:58:16 +0800 (CST) From: Yanteng Si To: corbet@lwn.net Cc: Yanteng Si , alexs@kernel.org, chenhuacai@kernel.org, jiaxun.yang@flygoat.com, linux-doc@vger.kernel.org, realpuyuwang@gmail.com, bobwxc@email.cn, siyanteng01@gmail.com, huangjianghui@uniontech.com Subject: [PATCH v5 0/3] docs/zh_CN add three core api docs Date: Thu, 6 May 2021 15:58:56 +0800 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: AQAAf9AxnciWoZNgtq0SAA--.24213S2 X-Coremail-Antispam: 1UD129KBjvJXoWxXryxtr1rZF45Gr1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: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org v4 -> v5: * Pick Alex's review-by tag for [patch 1-3/3] v3 -> v4: Some bad translations have been modified as suggested by Jiaxun. Thank you for your review. v2 -> v3: * Pick Xiangcheng Wu's review-by tag for [patch 1-3/3] * fix two original links. [1/3 and 3/3] v1 -> v2: * Some bad translations have been modified as suggested by Xiangcheng.Thank you for your review https://lore.kernel.org/linux-doc/cover.1618836460.git.siyanteng@loongson.cn/T/#t * As Matthew and Xiangcheng suggested: call kernel-doc to generate related docs (0001 and 0002).Thanks! I tested it on other computers (at least three) with no problem, But on my computers it prints 1000+ warnings, I tried to find the cause in the past few days but no clue. So, the two patches may print as follows:(maybe your computer won't print anything) linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235. Declaration is '.. c:None:: struct list_head *prev'. linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235. Declaration is '.. c:None:: struct list_head *next'. linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235. Declaration is '.. c:None:: void (*sync)(void)'. linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:283: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:283. Declaration is '.. c:function:: void list_splice_init_rcu(struct list_head *list, struct list_head *head, void (*sync)(void))'. linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:283: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:283. Declaration is '.. c:None:: struct list_head *list'. ... I'm a little skeptical now that something's wrong with my computer. Yanteng Si (3): docs/zh_CN: add core-api kernel-api.rst translation docs/zh_CN: add core-api printk-basics.rst translation docs/zh_CN: add core-api printk-formats.rst translation .../translations/zh_CN/core-api/index.rst | 7 +- .../zh_CN/core-api/kernel-api.rst | 385 ++++++++++++ .../zh_CN/core-api/printk-basics.rst | 111 ++++ .../zh_CN/core-api/printk-formats.rst | 580 ++++++++++++++++++ 4 files changed, 1081 insertions(+), 2 deletions(-) create mode 100644 Documentation/translations/zh_CN/core-api/kernel-api.rst create mode 100644 Documentation/translations/zh_CN/core-api/printk-basics.rst create mode 100644 Documentation/translations/zh_CN/core-api/printk-formats.rst -- 2.27.0