From: Yanteng Si <siyanteng@loongson.cn>
To: corbet@lwn.net
Cc: Yanteng Si <siyanteng@loongson.cn>,
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 [thread overview]
Message-ID: <cover.1620286208.git.siyanteng@loongson.cn> (raw)
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
next reply other threads:[~2021-05-06 7:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-06 7:58 Yanteng Si [this message]
2021-05-06 7:58 ` [PATCH v5 1/3] docs/zh_CN: add core-api kernel-api.rst translation Yanteng Si
2021-05-06 7:58 ` [PATCH v5 2/3] docs/zh_CN: add core-api printk-basics.rst translation Yanteng Si
2021-05-06 7:58 ` [PATCH v5 3/3] docs/zh_CN: add core-api printk-formats.rst translation Yanteng Si
2021-05-10 2:46 ` [PATCH v5 0/3] docs/zh_CN add three core api docs teng sterling
2021-05-13 16:20 ` Jonathan Corbet
2021-05-14 9:24 ` yanteng si
2021-05-15 6:53 ` yanteng si
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=cover.1620286208.git.siyanteng@loongson.cn \
--to=siyanteng@loongson.cn \
--cc=alexs@kernel.org \
--cc=bobwxc@email.cn \
--cc=chenhuacai@kernel.org \
--cc=corbet@lwn.net \
--cc=huangjianghui@uniontech.com \
--cc=jiaxun.yang@flygoat.com \
--cc=linux-doc@vger.kernel.org \
--cc=realpuyuwang@gmail.com \
--cc=siyanteng01@gmail.com \
/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).