linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] docs: sparse: move TW sparse.txt to TW dev-tools
       [not found] <20230811153554.84571-1-minhuadotchen@gmail.com>
@ 2023-08-11 15:35 ` Min-Hua Chen
  2023-08-11 17:02   ` Randy Dunlap
  2023-08-11 15:35 ` [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst Min-Hua Chen
  1 sibling, 1 reply; 6+ messages in thread
From: Min-Hua Chen @ 2023-08-11 15:35 UTC (permalink / raw)
  To: Hu Haowen, Jonathan Corbet
  Cc: Min-Hua Chen, Randy Dunlap, linux-doc-tw-discuss, linux-doc,
	linux-kernel

Follow Randy's advice [1] to move
Documentation/translations/zh_TW/sparse.txt
to
Documentation/translations/zh_TW/dev-tools/sparse.txt

[1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/

Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
---
 Documentation/translations/zh_TW/{ => dev-tools}/sparse.txt | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename Documentation/translations/zh_TW/{ => dev-tools}/sparse.txt (100%)

diff --git a/Documentation/translations/zh_TW/sparse.txt b/Documentation/translations/zh_TW/dev-tools/sparse.txt
similarity index 100%
rename from Documentation/translations/zh_TW/sparse.txt
rename to Documentation/translations/zh_TW/dev-tools/sparse.txt
-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst
       [not found] <20230811153554.84571-1-minhuadotchen@gmail.com>
  2023-08-11 15:35 ` [PATCH 1/2] docs: sparse: move TW sparse.txt to TW dev-tools Min-Hua Chen
@ 2023-08-11 15:35 ` Min-Hua Chen
  2023-08-11 17:02   ` Randy Dunlap
  2023-08-11 20:41   ` Jonathan Corbet
  1 sibling, 2 replies; 6+ messages in thread
From: Min-Hua Chen @ 2023-08-11 15:35 UTC (permalink / raw)
  To: Hu Haowen, Jonathan Corbet
  Cc: Min-Hua Chen, Randy Dunlap, linux-doc-tw-discuss, linux-doc,
	linux-kernel

Follow Randy's advice [1] to move
Documentation/translations/zh_TW/dev-tools/sparse.txt
to
Documentation/translations/zh_TW/dev-tools/sparse.rst

[1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/

Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
---
 .../dev-tools/{sparse.txt => sparse.rst}      | 31 ++++++-------------
 1 file changed, 10 insertions(+), 21 deletions(-)
 rename Documentation/translations/zh_TW/dev-tools/{sparse.txt => sparse.rst} (71%)

diff --git a/Documentation/translations/zh_TW/dev-tools/sparse.txt b/Documentation/translations/zh_TW/dev-tools/sparse.rst
similarity index 71%
rename from Documentation/translations/zh_TW/dev-tools/sparse.txt
rename to Documentation/translations/zh_TW/dev-tools/sparse.rst
index 6d2d088b1060..2f632f6ce8e8 100644
--- a/Documentation/translations/zh_TW/dev-tools/sparse.txt
+++ b/Documentation/translations/zh_TW/dev-tools/sparse.rst
@@ -1,33 +1,22 @@
-Chinese translated version of Documentation/dev-tools/sparse.rst
-
-If you have any comment or update to the content, please contact the
-original document maintainer directly.  However, if you have a problem
-communicating in English you can also ask the Chinese maintainer for
-help.  Contact the Chinese maintainer if this translation is outdated
-or if there is a problem with the translation.
+Copyright 2004 Linus Torvalds
+Copyright 2004 Pavel Machek <pavel@ucw.cz>
+Copyright 2006 Bob Copeland <me@bobcopeland.com>
 
-Traditional Chinese maintainer: Hu Haowen <src.res@email.cn>
----------------------------------------------------------------------
-Documentation/dev-tools/sparse.rst 的繁體中文翻譯
+.. include:: ../disclaimer-zh_TW.rst
 
-如果想評論或更新本文的內容,請直接聯繫原文檔的維護者。如果你使用英文
-交流有困難的話,也可以向繁體中文版維護者求助。如果本翻譯更新不及時或
-者翻譯存在問題,請聯繫繁體中文版維護者。
+:Original: Documentation/dev-tools/sparse.rst
 
-繁體中文版維護者: 胡皓文 Hu Haowen <src.res@email.cn>
-繁體中文版翻譯者: 胡皓文 Hu Haowen <src.res@email.cn>
+:翻譯:
 
-以下爲正文
----------------------------------------------------------------------
+Traditional Chinese maintainer: Hu Haowen <src.res@email.cn>
 
-Copyright 2004 Linus Torvalds
-Copyright 2004 Pavel Machek <pavel@ucw.cz>
-Copyright 2006 Bob Copeland <me@bobcopeland.com>
+Sparse
+======
 
 使用 sparse 工具做類型檢查
 ~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-"__bitwise" 是一種類型屬性,所以你應該這樣使用它:
+"__bitwise" 是一種類型屬性,所以你應該這樣使用它::
 
         typedef int __bitwise pm_request_t;
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst
  2023-08-11 15:35 ` [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst Min-Hua Chen
@ 2023-08-11 17:02   ` Randy Dunlap
  2023-08-11 20:41   ` Jonathan Corbet
  1 sibling, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2023-08-11 17:02 UTC (permalink / raw)
  To: Min-Hua Chen, Hu Haowen, Jonathan Corbet
  Cc: linux-doc-tw-discuss, linux-doc, linux-kernel



On 8/11/23 08:35, Min-Hua Chen wrote:
> Follow Randy's advice [1] to move
> Documentation/translations/zh_TW/dev-tools/sparse.txt
> to
> Documentation/translations/zh_TW/dev-tools/sparse.rst
> 
> [1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/
> 
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  .../dev-tools/{sparse.txt => sparse.rst}      | 31 ++++++-------------
>  1 file changed, 10 insertions(+), 21 deletions(-)
>  rename Documentation/translations/zh_TW/dev-tools/{sparse.txt => sparse.rst} (71%)
> 
> diff --git a/Documentation/translations/zh_TW/dev-tools/sparse.txt b/Documentation/translations/zh_TW/dev-tools/sparse.rst
> similarity index 71%
> rename from Documentation/translations/zh_TW/dev-tools/sparse.txt
> rename to Documentation/translations/zh_TW/dev-tools/sparse.rst
> index 6d2d088b1060..2f632f6ce8e8 100644
> --- a/Documentation/translations/zh_TW/dev-tools/sparse.txt
> +++ b/Documentation/translations/zh_TW/dev-tools/sparse.rst
> @@ -1,33 +1,22 @@
> -Chinese translated version of Documentation/dev-tools/sparse.rst
> -
> -If you have any comment or update to the content, please contact the
> -original document maintainer directly.  However, if you have a problem
> -communicating in English you can also ask the Chinese maintainer for
> -help.  Contact the Chinese maintainer if this translation is outdated
> -or if there is a problem with the translation.
> +Copyright 2004 Linus Torvalds
> +Copyright 2004 Pavel Machek <pavel@ucw.cz>
> +Copyright 2006 Bob Copeland <me@bobcopeland.com>
>  
> -Traditional Chinese maintainer: Hu Haowen <src.res@email.cn>
> ----------------------------------------------------------------------
> -Documentation/dev-tools/sparse.rst 的繁體中文翻譯
> +.. include:: ../disclaimer-zh_TW.rst
>  
> -如果想評論或更新本文的內容,請直接聯繫原文檔的維護者。如果你使用英文
> -交流有困難的話,也可以向繁體中文版維護者求助。如果本翻譯更新不及時或
> -者翻譯存在問題,請聯繫繁體中文版維護者。
> +:Original: Documentation/dev-tools/sparse.rst
>  
> -繁體中文版維護者: 胡皓文 Hu Haowen <src.res@email.cn>
> -繁體中文版翻譯者: 胡皓文 Hu Haowen <src.res@email.cn>
> +:翻譯:
>  
> -以下爲正文
> ----------------------------------------------------------------------
> +Traditional Chinese maintainer: Hu Haowen <src.res@email.cn>
>  
> -Copyright 2004 Linus Torvalds
> -Copyright 2004 Pavel Machek <pavel@ucw.cz>
> -Copyright 2006 Bob Copeland <me@bobcopeland.com>
> +Sparse
> +======
>  
>  使用 sparse 工具做類型檢查
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~
>  
> -"__bitwise" 是一種類型屬性,所以你應該這樣使用它:
> +"__bitwise" 是一種類型屬性,所以你應該這樣使用它::
>  
>          typedef int __bitwise pm_request_t;
>  

-- 
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] docs: sparse: move TW sparse.txt to TW dev-tools
  2023-08-11 15:35 ` [PATCH 1/2] docs: sparse: move TW sparse.txt to TW dev-tools Min-Hua Chen
@ 2023-08-11 17:02   ` Randy Dunlap
  0 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2023-08-11 17:02 UTC (permalink / raw)
  To: Min-Hua Chen, Hu Haowen, Jonathan Corbet
  Cc: linux-doc-tw-discuss, linux-doc, linux-kernel



On 8/11/23 08:35, Min-Hua Chen wrote:
> Follow Randy's advice [1] to move
> Documentation/translations/zh_TW/sparse.txt
> to
> Documentation/translations/zh_TW/dev-tools/sparse.txt
> 
> [1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/
> 
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  Documentation/translations/zh_TW/{ => dev-tools}/sparse.txt | 0
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  rename Documentation/translations/zh_TW/{ => dev-tools}/sparse.txt (100%)
> 
> diff --git a/Documentation/translations/zh_TW/sparse.txt b/Documentation/translations/zh_TW/dev-tools/sparse.txt
> similarity index 100%
> rename from Documentation/translations/zh_TW/sparse.txt
> rename to Documentation/translations/zh_TW/dev-tools/sparse.txt

-- 
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst
  2023-08-11 15:35 ` [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst Min-Hua Chen
  2023-08-11 17:02   ` Randy Dunlap
@ 2023-08-11 20:41   ` Jonathan Corbet
  2023-08-12  0:37     ` Min-Hua Chen
  1 sibling, 1 reply; 6+ messages in thread
From: Jonathan Corbet @ 2023-08-11 20:41 UTC (permalink / raw)
  To: Min-Hua Chen, Hu Haowen
  Cc: Min-Hua Chen, Randy Dunlap, linux-doc-tw-discuss, linux-doc,
	linux-kernel

Min-Hua Chen <minhuadotchen@gmail.com> writes:

> Follow Randy's advice [1] to move
> Documentation/translations/zh_TW/dev-tools/sparse.txt
> to
> Documentation/translations/zh_TW/dev-tools/sparse.rst
>
> [1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/

So the right way to do this would be to simply say something like
"Convert sparse.txt to RST", then add a Suggested-by: tag to credit
Randy. 

> Cc: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
> ---
>  .../dev-tools/{sparse.txt => sparse.rst}      | 31 ++++++-------------
>  1 file changed, 10 insertions(+), 21 deletions(-)
>  rename Documentation/translations/zh_TW/dev-tools/{sparse.txt => sparse.rst} (71%)

You're not adding this new document to a toctree anywhere; that will add
a warning and this file won't be a part of the docs build.

> diff --git a/Documentation/translations/zh_TW/dev-tools/sparse.txt b/Documentation/translations/zh_TW/dev-tools/sparse.rst
> similarity index 71%
> rename from Documentation/translations/zh_TW/dev-tools/sparse.txt
> rename to Documentation/translations/zh_TW/dev-tools/sparse.rst
> index 6d2d088b1060..2f632f6ce8e8 100644
> --- a/Documentation/translations/zh_TW/dev-tools/sparse.txt
> +++ b/Documentation/translations/zh_TW/dev-tools/sparse.rst
> @@ -1,33 +1,22 @@
> -Chinese translated version of Documentation/dev-tools/sparse.rst
> -
> -If you have any comment or update to the content, please contact the
> -original document maintainer directly.  However, if you have a problem
> -communicating in English you can also ask the Chinese maintainer for
> -help.  Contact the Chinese maintainer if this translation is outdated
> -or if there is a problem with the translation.
> +Copyright 2004 Linus Torvalds
> +Copyright 2004 Pavel Machek <pavel@ucw.cz>
> +Copyright 2006 Bob Copeland <me@bobcopeland.com>
>  
> -Traditional Chinese maintainer: Hu Haowen <src.res@email.cn>
> ----------------------------------------------------------------------
> -Documentation/dev-tools/sparse.rst 的繁體中文翻譯
> +.. include:: ../disclaimer-zh_TW.rst
>  
> -如果想評論或更新本文的內容,請直接聯繫原文檔的維護者。如果你使用英文
> -交流有困難的話,也可以向繁體中文版維護者求助。如果本翻譯更新不及時或
> -者翻譯存在問題,請聯繫繁體中文版維護者。
> +:Original: Documentation/dev-tools/sparse.rst
>  
> -繁體中文版維護者: 胡皓文 Hu Haowen <src.res@email.cn>
> -繁體中文版翻譯者: 胡皓文 Hu Haowen <src.res@email.cn>
> +:翻譯:

So you are removing a fair amount of text here, much of which I cannot
read.  Why are you doing that?  In any case, that would appear to be a
change that is independent of the format conversion, and should thus be
in its own patch.

Thanks,

jon

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst
  2023-08-11 20:41   ` Jonathan Corbet
@ 2023-08-12  0:37     ` Min-Hua Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Min-Hua Chen @ 2023-08-12  0:37 UTC (permalink / raw)
  To: corbet
  Cc: linux-doc-tw-discuss, linux-doc, linux-kernel, minhuadotchen,
	rdunlap, src.res

Hi Jonathan,

>> Follow Randy's advice [1] to move
>> Documentation/translations/zh_TW/dev-tools/sparse.txt
>> to
>> Documentation/translations/zh_TW/dev-tools/sparse.rst
>>
>> [1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@inf=
>radead.org/
>
>So the right way to do this would be to simply say something like
>"Convert sparse.txt to RST", then add a Suggested-by: tag to credit
>Randy.=20

Got it, I will submit v2 with this subject and add Suggested-by: tag
to credit Randy.

>
>> Cc: Randy Dunlap <rdunlap@infradead.org>
>> Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
>> ---
>>  .../dev-tools/{sparse.txt =3D> sparse.rst}      | 31 ++++++-------------
>>  1 file changed, 10 insertions(+), 21 deletions(-)
>>  rename Documentation/translations/zh_TW/dev-tools/{sparse.txt =3D> spars=
>e.rst} (71%)
>
>You're not adding this new document to a toctree anywhere; that will add
>a warning and this file won't be a part of the docs build.

I will fix this in v2.

>> diff --git a/Documentation/translations/zh_TW/dev-tools/sparse.txt b/Docu=
>mentation/translations/zh_TW/dev-tools/sparse.rst
>> similarity index 71%
>> rename from Documentation/translations/zh_TW/dev-tools/sparse.txt
>> rename to Documentation/translations/zh_TW/dev-tools/sparse.rst
>> index 6d2d088b1060..2f632f6ce8e8 100644
>> --- a/Documentation/translations/zh_TW/dev-tools/sparse.txt
>> +++ b/Documentation/translations/zh_TW/dev-tools/sparse.rst
>> @@ -1,33 +1,22 @@
>> -=EF=BB=BFChinese translated version of Documentation/dev-tools/sparse.rst
>> -
>> -If you have any comment or update to the content, please contact the
>> -original document maintainer directly.  However, if you have a problem
>> -communicating in English you can also ask the Chinese maintainer for
>> -help.  Contact the Chinese maintainer if this translation is outdated
>> -or if there is a problem with the translation.
>> +=EF=BB=BFCopyright 2004 Linus Torvalds
>> +Copyright 2004 Pavel Machek <pavel@ucw.cz>
>> +Copyright 2006 Bob Copeland <me@bobcopeland.com>
>>=20=20
>> -Traditional Chinese maintainer: Hu Haowen <src.res@email.cn>
>
>So you are removing a fair amount of text here, much of which I cannot
>read.  Why are you doing that?  In any case, that would appear to be a
>change that is independent of the format conversion, and should thus be
>in its own patch.

The text I removed is replaced by '.. include:: ../disclaimer-zh_TW.rst'.
I will keep the original text and change it in another change.

thanks,
Min-Hua

>
>Thanks,
>
>jon
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-08-12  0:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230811153554.84571-1-minhuadotchen@gmail.com>
2023-08-11 15:35 ` [PATCH 1/2] docs: sparse: move TW sparse.txt to TW dev-tools Min-Hua Chen
2023-08-11 17:02   ` Randy Dunlap
2023-08-11 15:35 ` [PATCH 2/2] docs: sparse: convert TW sparse.txt into sparse.rst Min-Hua Chen
2023-08-11 17:02   ` Randy Dunlap
2023-08-11 20:41   ` Jonathan Corbet
2023-08-12  0:37     ` Min-Hua Chen

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).