Skip to content

docs/zh_CN add three core api docs

Yanteng Si linux-doc 7 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest3 patches 1 replyApplied
  2. v63 patches 10 repliesSuperseded
  3. v53 patches 4 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v43 patches3 repliesSuperseded
v33 patches2 repliesSuperseded
v23 patches3 repliesSuperseded
v13 patches14 repliesSuperseded

Changes in v7 from the cover letter

* Translate sentences introduced by fixing build warnings.
* Pick Jiaxun's review-by tag for [patch 2-3/3]

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/3docs/zh_CN: add core-api kernel-api.rst translationDocumentation/translations/zh_CN/core-api/index.rst Documentation/translations/zh_CN/core-api/kernel-api.rst+373 -10 replies
2/3docs/zh_CN: add core-api printk-basics.rst translationDocumentation/translations/zh_CN/core-api/index.rst Documentation/translations/zh_CN/core-api/printk-basics.rst+111 -10 replies
3/3docs/zh_CN: add core-api printk-formats.rst translationDocumentation/translations/zh_CN/core-api/index.rst Documentation/translations/zh_CN/core-api/printk-formats.rst+581 -10 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchWu XiangChengAlex ShiJiaxun Yang
1/3R-b R-b
2/3R-b R-b R-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [PATCH v7 0/3] docs/zh_CN add three core api docs

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/[email protected]/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/[email protected]/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
Signature · 1 line
2.27.0