docs/zh_CN: add maintainer tree for Chinese doc pickup
Subsystems (2)
[email protected]
maintainerPATCH 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
@@ -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
[email protected]
maintainerPATCH 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
@@ -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
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.
Signed-off-by Alex Shi <[email protected]>
Quoted 13 lines
Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)MAINTAINERS +0
-0
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
@@ -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/
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.
Signed-off-by Alex Shi <[email protected]>Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>
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@@ -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 内核社区一起工作 ------------------------
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.
Signed-off-by Alex Shi <[email protected]>Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>Reviewed-by Yanteng Si <[email protected]>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@@ -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!
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.
Signed-off-by Alex Shi <[email protected]>Reviewed-by Yanteng Si <[email protected]>Quoted 13 lines
Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)MAINTAINERS +0
-0MAINTAINERS 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@@ -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,
Re: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation
In reply to Yanteng SiQuoted 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.
Signed-off-by Alex Shi <[email protected]>Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>Reviewed-by Yanteng Si <[email protected]>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@@ -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.
Quoted 10 lines
Thanks,
Yanteng
Quoted 3 lines
Documentation/translations/zh_CN/index.rst +0
-0与Linux 内核社区一起工作 ------------------------
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.
Signed-off-by Alex Shi <[email protected]>Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>Reviewed-by Yanteng Si <[email protected]>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@@ -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 htmldocsneeds 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'?
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.
Signed-off-by Alex Shi <[email protected]>Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>Reviewed-by Yanteng Si <[email protected]>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@@ -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 htmldocsneeds 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
Jonathan Corbet
maintainerRe: [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
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
Yanteng Si
maintainerRe: [PATCH 2/2] docs/zh_CN: add few request for Chinese translation
In reply to Dongliang MuQuoted 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.
Signed-off-by Alex Shi <[email protected]>Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>Reviewed-by Yanteng Si <[email protected]>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@@ -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
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.
Signed-off-by Alex Shi <[email protected]>Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>Reviewed-by Yanteng Si <[email protected]>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@@ -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
Jonathan Corbet
maintainerQuoted 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
Signed-off-by Alex Shi <[email protected]>Cc Yanteng Si <[email protected]>Cc Jonathan Corbet <[email protected]>--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
Both patches applied, thanks.
jon