Skip to contentSkip to conversation

docs/zh_CN: add maintainer tree for Chinese doc pickup

PATCH In review [email protected] 5 participants 14 messages Feb 13, 2025 – Feb 18, 2025

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 1/2 docs/zh_CN: add maintainer tree for Chinese doc pickup

From: Alex Shi <[email protected]>

From now on, the Chinese translation doc should be aimed here for base.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index c27f3190737f..dbb7f982e9c3 100644
@@ -5306,6 +5306,7 @@ F:	Documentation/dev-tools/checkpatch.rst
 CHINESE DOCUMENTATION
 M:	Alex Shi <[email protected]>
 M:	Yanteng Si <[email protected]>
+T:	git git://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git
 S:	Maintained
 F:	Documentation/translations/zh_CN/
 
Signature · 1 line
2.43.0
author maintainer
#1 lore raw

PATCH 2/2 docs/zh_CN: add few request for Chinese translation

From: Alex Shi <[email protected]>

A good checked summit could save much time for linux-doc maintainer.

---
 Documentation/translations/zh_CN/index.rst | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/translations/zh_CN/index.rst +7 -1
index 7574e1673180..cc512ca54172 100644
@@ -26,7 +26,13 @@
 顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文
 的字符标点占用两个英文字符宽度,所以,当英文要求不要超过每行100个字符时,
 中文就不要超过50个字符。另外,也要注意'-','='等符号与相关标题的对齐。在将
-补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试。
+补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试,确保
+在 ``make htmldocs/pdfdocs`` 中不增加新的告警,最后,安装检查你生成的
+html/pdf 文件,确认它们看起来是正常的。
+
+提交之前请确认你的补丁可以正常提交到中文文档维护库:
+https://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git/
+如果你的补丁依赖于其他人的补丁, 可以与其他人商量后由某一个人合并提交。
 
 与Linux 内核社区一起工作
 ------------------------
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 1/2
#11 lore raw
In reply to [email protected]
Quoted 5 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

From now on, the Chinese translation doc should be aimed here for base.

Quoted 13 lines
---
  MAINTAINERS | 1 +
  1 file changed, 1 insertion(+)
MAINTAINERS +0 -0
index c27f3190737f..dbb7f982e9c3 100644

MAINTAINERS F: Documentation/dev-tools/checkpatch.rst · line 5308

Quoted 3 lines
MAINTAINERS +0 -0
@@ -5306,6 +5306,7 @@ F:	Documentation/dev-tools/checkpatch.rst
  CHINESE DOCUMENTATION
  M:	Alex Shi <[email protected]>
  M:	Yanteng Si <[email protected]>

I have left LOONGSON, which means I have permanently lost this email account. Could you please help me update it conveniently?

MAINTAINERS +0 -0
index 92fc0eca7061..e00e0baead9f 100644
@@ -5411,7 +5411,7 @@ F: Documentation/dev-tools/checkpatch.rst
 

 CHINESE DOCUMENTATION
 M:     Alex Shi <[email protected]>
-M:     Yanteng Si <[email protected]>
+M:     Yanteng Si <[email protected]>
 S:     Maintained
 F:     Documentation/translations/zh_CN/

If it's not convenient for you, I'll submit a patch separately later. :)

Thanks,

Yanteng

Quoted 4 lines
MAINTAINERS +1 -0
+T:	git git://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git
  S:	Maintained
  F:	Documentation/translations/zh_CN/
 
maintainer Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

In reply to [email protected]
Quoted 9 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

A good checked summit could save much time for linux-doc maintainer.

Quoted 11 lines
---
  Documentation/translations/zh_CN/index.rst | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/translations/zh_CN/index.rst +0 -0
index 7574e1673180..cc512ca54172 100644
@@ -26,7 +26,13 @@
  顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文
  的字符标点占用两个英文字符宽度,所以,当英文要求不要超过每行100个字符时,

Documentation/translations/zh_CN/index.rst line 36

Quoted 10 lines
Documentation/translations/zh_CN/index.rst +7 -1
  中文就不要超过50个字符。另外,也要注意'-','='等符号与相关标题的对齐。在将
-补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试。
+补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试,确保
+在 ``make htmldocs/pdfdocs`` 中不增加新的告警,最后,安装检查你生成的
+html/pdf 文件,确认它们看起来是正常的。
+
+提交之前请确认你的补丁可以正常提交到中文文档维护库:
+https://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git/
 
+如果你的补丁依赖于其他人的补丁, 可以与其他人商量后由某一个人合并提交。

I think this requires a detailed tutorial. Otherwise, it

will increase the difficulty for beginners to get started.

How about removing it for now? I have a plan to write

a translation guidebook. What's your opinion?

Thanks,

Yanteng

Quoted 3 lines
Documentation/translations/zh_CN/index.rst +0 -0
  与Linux 内核社区一起工作
  ------------------------
#3 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

Quoted 37 lines · Yanteng Si <[email protected]> 于2025年2月13日周四 18:19写道:
Quoted 9 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

A good checked summit could save much time for linux-doc maintainer.

Quoted 19 lines
---
  Documentation/translations/zh_CN/index.rst | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/translations/zh_CN/index.rst +6 -1
index 7574e1673180..cc512ca54172 100644
@@ -26,7 +26,13 @@
  顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文
  的字符标点占用两个英文字符宽度,所以,当英文要求不要超过每行100个字符时,
  中文就不要超过50个字符。另外,也要注意'-','='等符号与相关标题的对齐。在将
-补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试。
+补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试,确保
+在 ``make htmldocs/pdfdocs`` 中不增加新的告警,最后,安装检查你生成的
+html/pdf 文件,确认它们看起来是正常的。
+
+提交之前请确认你的补丁可以正常提交到中文文档维护库:
+https://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git/
Quoted 3 lines

Documentation/translations/zh_CN/index.rst line 35

Quoted 1 line
Documentation/translations/zh_CN/index.rst +1 -0
+如果你的补丁依赖于其他人的补丁, 可以与其他人商量后由某一个人合并提交。

I think this requires a detailed tutorial. Otherwise, it

I don't know if it couses confusion. Maybe let's this suggestion here and to see the response from community?

Quoted 6 lines

will increase the difficulty for beginners to get started.

How about removing it for now? I have a plan to write

a translation guidebook. What's your opinion?

I'm glad to hear that you will have a translation guide. :) Hope to see it soon!

Thanks!

#12 lore raw
In reply to Yanteng Si
Quoted 46 lines · Yanteng Si <[email protected]> 于2025年2月13日周四 18:13写道:
Quoted 5 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

From now on, the Chinese translation doc should be aimed here for base.

Quoted 13 lines
---
  MAINTAINERS | 1 +
  1 file changed, 1 insertion(+)
MAINTAINERS +0 -0
index c27f3190737f..dbb7f982e9c3 100644

MAINTAINERS F: Documentation/dev-tools/checkpatch.rst · line 5308

Quoted 3 lines
MAINTAINERS +0 -0
@@ -5306,6 +5306,7 @@ F:      Documentation/dev-tools/checkpatch.rst
  CHINESE DOCUMENTATION
  M:  Alex Shi <[email protected]>
  M:  Yanteng Si <[email protected]>

I have left LOONGSON, which means I have permanently lost this email account. Could you please help me update it conveniently?

MAINTAINERS +1 -1
index 92fc0eca7061..e00e0baead9f 100644
@@ -5411,7 +5411,7 @@ F: Documentation/dev-tools/checkpatch.rst
 
  CHINESE DOCUMENTATION
  M:     Alex Shi <[email protected]>
-M:     Yanteng Si <[email protected]>
+M:     Yanteng Si <[email protected]>
  S:     Maintained
  F:     Documentation/translations/zh_CN/
 
Quoted 1 line

If it's not convenient for you, I'll submit a patch separately later. :)

Your patch to update your email address will look more appropriatly. :) So, go ahead to send a patch.

Thanks,

#4 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

In reply to Yanteng Si
Quoted 39 lines · Yanteng Si
Quoted 9 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

A good checked summit could save much time for linux-doc maintainer.

Quoted 11 lines
---
  Documentation/translations/zh_CN/index.rst | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/translations/zh_CN/index.rst +0 -0
index 7574e1673180..cc512ca54172 100644
@@ -26,7 +26,13 @@
  顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文
  的字符标点占用两个英文字符宽度,所以,当英文要求不要超过每行100个字符时,

Documentation/translations/zh_CN/index.rst line 36

Quoted 10 lines
Documentation/translations/zh_CN/index.rst +7 -1
  中文就不要超过50个字符。另外,也要注意'-','='等符号与相关标题的对齐。在将
-补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试。
+补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试,确保
+在 ``make htmldocs/pdfdocs`` 中不增加新的告警,最后,安装检查你生成的
+html/pdf 文件,确认它们看起来是正常的。
+
+提交之前请确认你的补丁可以正常提交到中文文档维护库:
+https://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git/
 
+如果你的补丁依赖于其他人的补丁, 可以与其他人商量后由某一个人合并提交。
Quoted 7 lines

I think this requires a detailed tutorial. Otherwise, it

will increase the difficulty for beginners to get started.

How about removing it for now? I have a plan to write

a translation guidebook. What's your opinion?

Good idea. I can help contribute. Our Translation Team has a simple one to guide team members in kernel document translation.

One issue in my mind is, make htmldocs needs much resouce in the compilation.

[1] https://github.com/hust-open-atom-club/TranslateProject/wiki/3.1-%E5%86%85%E6%A0%B8%E6%96%87%E6%A1%A3%E7%BF%BB%E8%AF%91%E6%8C%87%E5%8D%97

Quoted 10 lines

Thanks,

Yanteng

Quoted 3 lines
Documentation/translations/zh_CN/index.rst +0 -0
  与Linux 内核社区一起工作
  ------------------------
#5 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

Quoted 45 lines · Dongliang Mu <[email protected]> 于2025年2月14日周五 11:25写道:
Quoted 43 lines · Yanteng Si
Quoted 9 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

A good checked summit could save much time for linux-doc maintainer.

Quoted 11 lines
---
  Documentation/translations/zh_CN/index.rst | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/translations/zh_CN/index.rst +0 -0
index 7574e1673180..cc512ca54172 100644
@@ -26,7 +26,13 @@
  顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文
  的字符标点占用两个英文字符宽度,所以,当英文要求不要超过每行100个字符时,

Documentation/translations/zh_CN/index.rst line 36

Quoted 10 lines
Documentation/translations/zh_CN/index.rst +7 -1
  中文就不要超过50个字符。另外,也要注意'-','='等符号与相关标题的对齐。在将
-补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试。
+补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试,确保
+在 ``make htmldocs/pdfdocs`` 中不增加新的告警,最后,安装检查你生成的
+html/pdf 文件,确认它们看起来是正常的。
+
+提交之前请确认你的补丁可以正常提交到中文文档维护库:
+https://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git/
 
+如果你的补丁依赖于其他人的补丁, 可以与其他人商量后由某一个人合并提交。

I think this requires a detailed tutorial. Otherwise, it

will increase the difficulty for beginners to get started.

Quoted 8 lines
Quoted 3 lines

How about removing it for now? I have a plan to write

a translation guidebook. What's your opinion?

Good idea. I can help contribute. Our Translation Team has a simple one to guide team members in kernel document translation.

One issue in my mind is, make htmldocs needs much resouce in the compilation.

Nice doc! Looks very useful.
But it also mentioned 'make htmldocs' is required, so what's your final suggestion for 'make htmldocs'?

Quoted 2 lines

[1] https://github.com/hust-open-atom-club/TranslateProject/wiki/3.1-%E5%86%85%E6%A0%B8%E6%96%87%E6%A1%A3%E7%BF%BB%E8%AF%91%E6%8C%87%E5%8D%97

#6 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

Quoted 51 lines · Alex Shi
Quoted 49 lines · Dongliang Mu <[email protected]> 于2025年2月14日周五 11:25写道:
Quoted 46 lines · Yanteng Si
Quoted 9 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

A good checked summit could save much time for linux-doc maintainer.

Quoted 11 lines
---
  Documentation/translations/zh_CN/index.rst | 8 +++++++-
  1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/translations/zh_CN/index.rst +0 -0
index 7574e1673180..cc512ca54172 100644
@@ -26,7 +26,13 @@
  顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文
  的字符标点占用两个英文字符宽度,所以,当英文要求不要超过每行100个字符时,

Documentation/translations/zh_CN/index.rst line 36

Quoted 10 lines
Documentation/translations/zh_CN/index.rst +7 -1
  中文就不要超过50个字符。另外,也要注意'-','='等符号与相关标题的对齐。在将
-补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试。
+补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试,确保
+在 ``make htmldocs/pdfdocs`` 中不增加新的告警,最后,安装检查你生成的
+html/pdf 文件,确认它们看起来是正常的。
+
+提交之前请确认你的补丁可以正常提交到中文文档维护库:
+https://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git/
 
+如果你的补丁依赖于其他人的补丁, 可以与其他人商量后由某一个人合并提交。

I think this requires a detailed tutorial. Otherwise, it

will increase the difficulty for beginners to get started.

How about removing it for now? I have a plan to write

a translation guidebook. What's your opinion?

Quoted 8 lines
Quoted 4 lines

Good idea. I can help contribute. Our Translation Team has a simple one to guide team members in kernel document translation.

One issue in my mind is, make htmldocs needs much resouce in the compilation.

Nice doc! Looks very useful.
But it also mentioned 'make htmldocs' is required, so what's your final suggestion for 'make htmldocs'?

My final suggestion is to ask developers to do this as we will check this in the review process.

What I mean is to mention that, make htmldocs would need lots of time to compile and some tips about this, for example,

It takes quite a bit of time to finish running make htmldocs. Grab a coffee and relax while you wait!

Dongliang Mu

Quoted 3 lines
Quoted 3 lines

[1] https://github.com/hust-open-atom-club/TranslateProject/wiki/3.1-%E5%86%85%E6%A0%B8%E6%96%87%E6%A1%A3%E7%BF%BB%E8%AF%91%E6%8C%87%E5%8D%97

maintainer
#7 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

Quoted 2 lines · Dongliang Mu

It takes quite a bit of time to finish running make htmldocs. Grab a coffee and relax while you wait!

If you have not updated to latest Sphinx (8.1.3, say), you should do so. The Sphinx developers fixed a big performance problem, and it's much faster. Not as much relaxation possible as once was...:)

jon

#8 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

Quoted 9 lines · Jonathan Corbet
Quoted 2 lines · Dongliang Mu

It takes quite a bit of time to finish running make htmldocs. Grab a coffee and relax while you wait!

If you have not updated to latest Sphinx (8.1.3, say), you should do so. The Sphinx developers fixed a big performance problem, and it's much faster. Not as much relaxation possible as once was...:)

Really good news. Let me upgrade my Sphinx.

Thanks.

Dongliang Mu

Quoted 2 lines

jon

maintainer
#9 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

In reply to Dongliang Mu
Quoted 38 lines · Dongliang Mu
Quoted 37 lines · Yanteng Si
Quoted 9 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

A good checked summit could save much time for linux-doc maintainer.

Quoted 10 lines
---
   Documentation/translations/zh_CN/index.rst | 8 +++++++-
   1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/translations/zh_CN/index.rst +0 -0
index 7574e1673180..cc512ca54172 100644
@@ -26,7 +26,13 @@
   顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文

Documentation/translations/zh_CN/index.rst line 35

Quoted 10 lines
Documentation/translations/zh_CN/index.rst +7 -1
   的字符标点占用两个英文字符宽度,所以,当英文要求不要超过每行100个字符时,
   中文就不要超过50个字符。另外,也要注意'-','='等符号与相关标题的对齐。在将
-补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试。
+补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试,确保
+在 ``make htmldocs/pdfdocs`` 中不增加新的告警,最后,安装检查你生成的
+html/pdf 文件,确认它们看起来是正常的。
+
+提交之前请确认你的补丁可以正常提交到中文文档维护库:
+https://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git/
+如果你的补丁依赖于其他人的补丁, 可以与其他人商量后由某一个人合并提交。

I think this requires a detailed tutorial. Otherwise, it

Quoted 7 lines
Quoted 5 lines

will increase the difficulty for beginners to get started.

How about removing it for now? I have a plan to write

a translation guidebook. What's your opinion?

Good idea. I can help contribute. Our Translation Team has a simple one to guide team members in kernel document translation.

Good jobs, This is very helpful to me.

In fact, I already had a draft before New Year's Day.

The reason I didn't submit it was because, in practice,

I found many deficiencies. I'll try to submit it later this week.

Thanks,

Yanteng

#10 lore raw

Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation

Quoted 49 lines · Yanteng Si
Quoted 38 lines · Dongliang Mu
Quoted 37 lines · Yanteng Si
Quoted 9 lines · 在 2/13/25 1:42 PM, [email protected] 写道:

From: Alex Shi <[email protected]>

A good checked summit could save much time for linux-doc maintainer.

Quoted 10 lines
---
   Documentation/translations/zh_CN/index.rst | 8 +++++++-
   1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/translations/zh_CN/index.rst +0 -0
index 7574e1673180..cc512ca54172 100644
@@ -26,7 +26,13 @@
   顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文

Documentation/translations/zh_CN/index.rst line 35

Quoted 10 lines
Documentation/translations/zh_CN/index.rst +7 -1
   的字符标点占用两个英文字符宽度,所以,当英文要求不要超过每行100个字符时,
   中文就不要超过50个字符。另外,也要注意'-','='等符号与相关标题的对齐。在将
-补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试。
+补丁提交到社区之前,一定要进行必要的 ``checkpatch.pl`` 检查和编译测试,确保
+在 ``make htmldocs/pdfdocs`` 中不增加新的告警,最后,安装检查你生成的
+html/pdf 文件,确认它们看起来是正常的。
+
+提交之前请确认你的补丁可以正常提交到中文文档维护库:
+https://git.kernel.org/pub/scm/linux/kernel/git/alexs/linux.git/
+如果你的补丁依赖于其他人的补丁, 可以与其他人商量后由某一个人合并提交。

I think this requires a detailed tutorial. Otherwise, it

Quoted 7 lines
Quoted 5 lines

will increase the difficulty for beginners to get started.

How about removing it for now? I have a plan to write

a translation guidebook. What's your opinion?

Good idea. I can help contribute. Our Translation Team has a simple one to guide team members in kernel document translation.

Quoted 8 lines

Good jobs, This is very helpful to me.

In fact, I already had a draft before New Year's Day.

The reason I didn't submit it was because, in practice,

I found many deficiencies. I'll try to submit it later this week.

Sure. I will give my comments on your patch.

Dongliang Mu

Quoted 6 lines

Thanks,

Yanteng

maintainer
#13 lore raw
In reply to [email protected]
Quoted 4 lines · [email protected] writes:

From: Alex Shi <[email protected]>

From now on, the Chinese translation doc should be aimed here for base.

Quoted 8 lines
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

Both patches applied, thanks.

jon