* [PATCH v2] doc/zh_CN: add Chinese document coding style reminder
@ 2021-12-09 9:56 alexs
2021-12-10 2:42 ` yanteng si
0 siblings, 1 reply; 3+ messages in thread
From: alexs @ 2021-12-09 9:56 UTC (permalink / raw)
Cc: Alex Shi, Yanteng Si, Tang Yizhou, Jonathan Corbet, linux-doc,
linux-kernel
From: Alex Shi <alexs@kernel.org>
The coding style requirement for Chinese document is easy to be overlooked.
Add the request as a remdiner.
Signed-off-by: Alex Shi <alexs@kernel.org>
Cc: Yanteng Si <siyanteng01@gmail.com>
Cc: Tang Yizhou <tangyizhou@huawei.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
Documentation/translations/zh_CN/index.rst | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/translations/zh_CN/index.rst
index a34e58733ac8..b01c04227d8a 100644
--- a/Documentation/translations/zh_CN/index.rst
+++ b/Documentation/translations/zh_CN/index.rst
@@ -23,6 +23,11 @@
另外,随时欢迎您对内核文档进行改进;如果您想提供帮助,请加入vger.kernel.org
上的linux-doc邮件列表。
+顺便说下,中文文档也需要遵守内核编码风格,风格中中文和英文的主要不同就是中文
+的字符标点占用两个英文字符宽度, 所以,当英文要求不要超过每行100个字符时,
+中文就不要超过50个字符。另外,也要注意'-','=' 等符号与相关标题的对齐。在将
+补丁提交到社区之前,一定要进行必要的checkpatch.pl检查和编译测试。
+
许可证文档
----------
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] doc/zh_CN: add Chinese document coding style reminder
2021-12-09 9:56 [PATCH v2] doc/zh_CN: add Chinese document coding style reminder alexs
@ 2021-12-10 2:42 ` yanteng si
2021-12-10 21:00 ` Jonathan Corbet
0 siblings, 1 reply; 3+ messages in thread
From: yanteng si @ 2021-12-10 2:42 UTC (permalink / raw)
To: Alex Shi
Cc: Tang Yizhou, Jonathan Corbet, Linux Doc Mailing List, linux-kernel
<alexs@kernel.org> 于2021年12月9日周四 17:56写道:
>
> From: Alex Shi <alexs@kernel.org>
>
> The coding style requirement for Chinese document is easy to be overlooked.
> Add the request as a remdiner.
>
> Signed-off-by: Alex Shi <alexs@kernel.org>
> Cc: Yanteng Si <siyanteng01@gmail.com>
> Cc: Tang Yizhou <tangyizhou@huawei.com>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
Thanks,
Yanteng
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] doc/zh_CN: add Chinese document coding style reminder
2021-12-10 2:42 ` yanteng si
@ 2021-12-10 21:00 ` Jonathan Corbet
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-12-10 21:00 UTC (permalink / raw)
To: yanteng si, Alex Shi; +Cc: Tang Yizhou, Linux Doc Mailing List, linux-kernel
yanteng si <siyanteng01@gmail.com> writes:
> <alexs@kernel.org> 于2021年12月9日周四 17:56写道:
>>
>> From: Alex Shi <alexs@kernel.org>
>>
>> The coding style requirement for Chinese document is easy to be overlooked.
>> Add the request as a remdiner.
>>
>> Signed-off-by: Alex Shi <alexs@kernel.org>
>> Cc: Yanteng Si <siyanteng01@gmail.com>
>> Cc: Tang Yizhou <tangyizhou@huawei.com>
>> Cc: Jonathan Corbet <corbet@lwn.net>
>> Cc: linux-doc@vger.kernel.org
>> Cc: linux-kernel@vger.kernel.org
> Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-10 21:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-09 9:56 [PATCH v2] doc/zh_CN: add Chinese document coding style reminder alexs
2021-12-10 2:42 ` yanteng si
2021-12-10 21:00 ` Jonathan Corbet
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).