From: Yanteng Si <siyanteng@loongson.cn>
To: corbet@lwn.net, alexs@kernel.org
Cc: Yanteng Si <siyanteng@loongson.cn>,
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 v7 0/3] docs/zh_CN add three core api docs
Date: Mon, 17 May 2021 16:46:12 +0800 [thread overview]
Message-ID: <cover.1621239725.git.siyanteng@loongson.cn> (raw)
v6 -> v7:
* Translate sentences introduced by fixing build warnings.
* Pick Jiaxun's review-by tag for [patch 2-3/3]
https://lore.kernel.org/linux-doc/cover.1621062577.git.siyanteng@loongson.cn/T/#t
v5 -> v6:
* fix build warnings.
https://lore.kernel.org/linux-doc/CAEensMwf+w8aOuMqBy_wrWGBVBnVZdjKNJgS4jRQTAO4zwN1vw@mail.gmail.com/T/#t
https://lore.kernel.org/linux-doc/CAEensMzL31Lq2NTVC74hfQyPy+7mTd=74p5Kkamf4LZ_GAieLA@mail.gmail.com/T/#t
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 | 369 +++++++++++
.../zh_CN/core-api/printk-basics.rst | 110 ++++
.../zh_CN/core-api/printk-formats.rst | 580 ++++++++++++++++++
4 files changed, 1064 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-17 8:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-17 8:46 Yanteng Si [this message]
2021-05-17 8:46 ` [PATCH v7 1/3] docs/zh_CN: add core-api kernel-api.rst translation Yanteng Si
2021-05-17 8:46 ` [PATCH v7 2/3] docs/zh_CN: add core-api printk-basics.rst translation Yanteng Si
2021-05-17 8:46 ` [PATCH v7 3/3] docs/zh_CN: add core-api printk-formats.rst translation Yanteng Si
2021-05-17 18:29 ` [PATCH v7 0/3] docs/zh_CN add three core api docs 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=cover.1621239725.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).