2022-10-05 05:51:47

by Wu XiangCheng

[permalink] [raw]
Subject: [PATCH 0/4] docs/zh_CN: Rewrite the zh_CN/index.rst

Follow Jonathan's steps[1], rewrite the entry point of kernel's Chinese
translation documentation.

Thanks,

[1]: https://lore.kernel.org/linux-doc/[email protected]/T

Wu XiangCheng (4):
docs/zh_CN: promote the title of zh_CN/process/index.rst
docs/zh_CN: add zh_CN/arch.rst
docs/zh_CN: Rewrite the Chinsese translation front page
docs/zh_CN: add a man-pages link to zh_CN/index.rst

Documentation/translations/zh_CN/arch.rst | 30 ++++
Documentation/translations/zh_CN/index.rst | 169 ++++++------------
.../translations/zh_CN/process/index.rst | 1 +
3 files changed, 83 insertions(+), 117 deletions(-)
create mode 100644 Documentation/translations/zh_CN/arch.rst


base-commit: 05fff6ba04eef8b88bb94734b66731bef3d8d34b
--
2.30.2


--
Wu XiangCheng 0x32684A40BCA7AEA7


2022-10-05 05:57:57

by Wu XiangCheng

[permalink] [raw]
Subject: [PATCH 2/4] docs/zh_CN: add zh_CN/arch.rst

From: Wu XiangCheng <[email protected]>

Add an entry for all zh arch documents.

Signed-off-by: Wu XiangCheng <[email protected]>
---
Documentation/translations/zh_CN/arch.rst | 30 +++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 Documentation/translations/zh_CN/arch.rst

diff --git a/Documentation/translations/zh_CN/arch.rst b/Documentation/translations/zh_CN/arch.rst
new file mode 100644
index 000000000000..1603f076b14d
--- /dev/null
+++ b/Documentation/translations/zh_CN/arch.rst
@@ -0,0 +1,30 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+处理器体系结构
+==============
+
+以下文档提供了具体架构实现的编程细节。
+
+.. toctree::
+ :maxdepth: 2
+
+ mips/index
+ arm64/index
+ riscv/index
+ openrisc/index
+ parisc/index
+ loongarch/index
+
+TODOList:
+
+* arm/index
+* ia64/index
+* m68k/index
+* nios2/index
+* powerpc/index
+* s390/index
+* sh/index
+* sparc/index
+* x86/index
+* xtensa/index
+
--
2.30.2


--
Wu XiangCheng 0x32684A40BCA7AEA7

2022-10-05 06:18:12

by Wu XiangCheng

[permalink] [raw]
Subject: [PATCH 4/4] docs/zh_CN: add a man-pages link to zh_CN/index.rst

From: Wu XiangCheng <[email protected]>

update to commit 489876063fb1 ("docs: add a man-pages link to the front
page")

Signed-off-by: Wu XiangCheng <[email protected]>
---
Documentation/translations/zh_CN/index.rst | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index 7be728bed46d..ec99ef5fe990 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -97,6 +97,8 @@ TODOList:
* 用户空间工具 <tools/index>
* userspace-api/index

+也可参考独立于内核文档的 `Linux 手册页 <https://www.kernel.org/doc/man-pages/>`_
+
固件相关文档
------------

--
2.30.2


--
Wu XiangCheng 0x32684A40BCA7AEA7

2022-10-05 06:20:50

by Wu XiangCheng

[permalink] [raw]
Subject: [PATCH 1/4] docs/zh_CN: promote the title of zh_CN/process/index.rst

From: Wu XiangCheng <[email protected]>

update to commit 9d0f5cd16744 ("docs: promote the title of
process/index.rst")

Signed-off-by: Wu XiangCheng <[email protected]>
---
Documentation/translations/zh_CN/process/index.rst | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/translations/zh_CN/process/index.rst b/Documentation/translations/zh_CN/process/index.rst
index a683dbea0c83..a1a35f88f4ae 100644
--- a/Documentation/translations/zh_CN/process/index.rst
+++ b/Documentation/translations/zh_CN/process/index.rst
@@ -10,6 +10,7 @@

.. _cn_process_index:

+========================
与Linux 内核社区一起工作
========================

--
2.30.2


--
Wu XiangCheng 0x32684A40BCA7AEA7

2022-10-08 04:29:04

by Yanteng Si

[permalink] [raw]
Subject: Re: [PATCH 0/4] docs/zh_CN: Rewrite the zh_CN/index.rst


On 10/5/22 13:13, Wu XiangCheng wrote:
> Follow Jonathan's steps[1], rewrite the entry point of kernel's Chinese
> translation documentation.
>
> Thanks,
>
> [1]: https://lore.kernel.org/linux-doc/[email protected]/T
>
> Wu XiangCheng (4):
> docs/zh_CN: promote the title of zh_CN/process/index.rst
> docs/zh_CN: add zh_CN/arch.rst
> docs/zh_CN: Rewrite the Chinsese translation front page
> docs/zh_CN: add a man-pages link to zh_CN/index.rst

When I apply your patch set, Git says:


Applying: docs/zh_CN: promote the title of zh_CN/process/index.rst
Applying: docs/zh_CN: add zh_CN/arch.rst
.git/rebase-apply/patch:41: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Applying: docs/zh_CN: Rewrite the Chinsese translation front page
Applying: docs/zh_CN: add a man-pages link to zh_CN/index.rst


Thanks,

Yanteng

>
> Documentation/translations/zh_CN/arch.rst | 30 ++++
> Documentation/translations/zh_CN/index.rst | 169 ++++++------------
> .../translations/zh_CN/process/index.rst | 1 +
> 3 files changed, 83 insertions(+), 117 deletions(-)
> create mode 100644 Documentation/translations/zh_CN/arch.rst
>
>
> base-commit: 05fff6ba04eef8b88bb94734b66731bef3d8d34b

2022-10-08 05:50:17

by Wu XiangCheng

[permalink] [raw]
Subject: Re: [PATCH 0/4] docs/zh_CN: Rewrite the zh_CN/index.rst

2022-10-08 (六) 12:11:06 +0800 Yanteng Si 曰:
>
> On 10/5/22 13:13, Wu XiangCheng wrote:
> > Follow Jonathan's steps[1], rewrite the entry point of kernel's Chinese
> > translation documentation.
> >
> > Thanks,
> >
> > [1]: https://lore.kernel.org/linux-doc/[email protected]/T
> >
> > Wu XiangCheng (4):
> > docs/zh_CN: promote the title of zh_CN/process/index.rst
> > docs/zh_CN: add zh_CN/arch.rst
> > docs/zh_CN: Rewrite the Chinsese translation front page
> > docs/zh_CN: add a man-pages link to zh_CN/index.rst
>
> When I apply your patch set, Git says:
>
>
> Applying: docs/zh_CN: promote the title of zh_CN/process/index.rst
> Applying: docs/zh_CN: add zh_CN/arch.rst
> .git/rebase-apply/patch:41: new blank line at EOF.
> +
> warning: 1 line adds whitespace errors.
> Applying: docs/zh_CN: Rewrite the Chinsese translation front page
> Applying: docs/zh_CN: add a man-pages link to zh_CN/index.rst
>

OK. Will be fixed in v2.

Thanks,

--
Wu XiangCheng 0x32684A40BCA7AEA7