linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] convert TW translation sparse.txt to RST
@ 2023-08-13 16:29 Min-Hua Chen
  2023-08-13 16:29 ` [PATCH v2 1/3] docs: sparse: move TW sparse.txt to TW dev-tools Min-Hua Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Min-Hua Chen @ 2023-08-13 16:29 UTC (permalink / raw)
  To: Hu Haowen, Jonathan Corbet
  Cc: Randy Dunlap, linux-doc-tw-discuss, linux-doc, linux-kernel,
	Min-Hua Chen

These patches move TW sparse.txt to TW dev-tools and
convert TW sparse.txt to RST, based on [1].
Add the RST to toctree [2].

Randy said [1]:
"
it would be good if someone would update/modify this
sparse.txt file to be in Documentation/translation/zh_TW/dev-tools/
and convert it to sparse.rst (IMO).
"

[1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/
[2] https://lore.kernel.org/lkml/87a5uxxqf3.fsf@meer.lwn.net/



Min-Hua Chen (3):
  docs: sparse: move TW sparse.txt to TW dev-tools
  docs: sparse: convert sparse.txt to RST
  docs: sparse: add sparse.rst to toctree

 .../translations/zh_TW/dev-tools/index.rst    | 40 +++++++++++++++++++
 .../{sparse.txt => dev-tools/sparse.rst}      |  2 +-
 Documentation/translations/zh_TW/index.rst    |  2 +-
 3 files changed, 42 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/translations/zh_TW/dev-tools/index.rst
 rename Documentation/translations/zh_TW/{sparse.txt => dev-tools/sparse.rst} (99%)

-- 
2.34.1


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

* [PATCH v2 1/3] docs: sparse: move TW sparse.txt to TW dev-tools
  2023-08-13 16:29 [PATCH v2 0/3] convert TW translation sparse.txt to RST Min-Hua Chen
@ 2023-08-13 16:29 ` Min-Hua Chen
  2023-08-13 16:29 ` [PATCH v2 2/3] docs: sparse: convert sparse.txt to RST Min-Hua Chen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Min-Hua Chen @ 2023-08-13 16:29 UTC (permalink / raw)
  To: Hu Haowen, Jonathan Corbet
  Cc: Randy Dunlap, linux-doc-tw-discuss, linux-doc, linux-kernel,
	Min-Hua Chen

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>
Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: 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 v2 2/3] docs: sparse: convert sparse.txt to RST
  2023-08-13 16:29 [PATCH v2 0/3] convert TW translation sparse.txt to RST Min-Hua Chen
  2023-08-13 16:29 ` [PATCH v2 1/3] docs: sparse: move TW sparse.txt to TW dev-tools Min-Hua Chen
@ 2023-08-13 16:29 ` Min-Hua Chen
  2023-08-13 16:29 ` [PATCH v2 3/3] docs: sparse: add sparse.rst to toctree Min-Hua Chen
  2023-08-28 18:51 ` [PATCH v2 0/3] convert TW translation sparse.txt to RST Jonathan Corbet
  3 siblings, 0 replies; 6+ messages in thread
From: Min-Hua Chen @ 2023-08-13 16:29 UTC (permalink / raw)
  To: Hu Haowen, Jonathan Corbet
  Cc: Randy Dunlap, linux-doc-tw-discuss, linux-doc, linux-kernel,
	Min-Hua Chen

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>
Cc: Jonathan Corbet <corbet@lwn.net>
Suggested-by: Jonathan Corbet <corbet@lwn.net>
Suggested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>

---

change since v1:
1. change subject to convert sparse.txt to RST
2. add Suggested-by tag to credit Randy
---
 .../translations/zh_TW/dev-tools/{sparse.txt => sparse.rst}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename Documentation/translations/zh_TW/dev-tools/{sparse.txt => sparse.rst} (99%)

diff --git a/Documentation/translations/zh_TW/dev-tools/sparse.txt b/Documentation/translations/zh_TW/dev-tools/sparse.rst
similarity index 99%
rename from Documentation/translations/zh_TW/dev-tools/sparse.txt
rename to Documentation/translations/zh_TW/dev-tools/sparse.rst
index 6d2d088b1060..553a3ce82d2e 100644
--- a/Documentation/translations/zh_TW/dev-tools/sparse.txt
+++ b/Documentation/translations/zh_TW/dev-tools/sparse.rst
@@ -27,7 +27,7 @@ Copyright 2006 Bob Copeland <me@bobcopeland.com>
 使用 sparse 工具做類型檢查
 ~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-"__bitwise" 是一種類型屬性,所以你應該這樣使用它:
+"__bitwise" 是一種類型屬性,所以你應該這樣使用它::
 
         typedef int __bitwise pm_request_t;
 
-- 
2.34.1


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

* [PATCH v2 3/3] docs: sparse: add sparse.rst to toctree
  2023-08-13 16:29 [PATCH v2 0/3] convert TW translation sparse.txt to RST Min-Hua Chen
  2023-08-13 16:29 ` [PATCH v2 1/3] docs: sparse: move TW sparse.txt to TW dev-tools Min-Hua Chen
  2023-08-13 16:29 ` [PATCH v2 2/3] docs: sparse: convert sparse.txt to RST Min-Hua Chen
@ 2023-08-13 16:29 ` Min-Hua Chen
  2023-08-28 18:51 ` [PATCH v2 0/3] convert TW translation sparse.txt to RST Jonathan Corbet
  3 siblings, 0 replies; 6+ messages in thread
From: Min-Hua Chen @ 2023-08-13 16:29 UTC (permalink / raw)
  To: Hu Haowen, Jonathan Corbet
  Cc: Randy Dunlap, linux-doc-tw-discuss, linux-doc, linux-kernel,
	Min-Hua Chen

Add sparst.rst to toctree, so it can be part of the docs build.

Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Suggested-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Min-Hua Chen <minhuadotchen@gmail.com>
---
 .../translations/zh_TW/dev-tools/index.rst    | 40 +++++++++++++++++++
 Documentation/translations/zh_TW/index.rst    |  2 +-
 2 files changed, 41 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_TW/dev-tools/index.rst

diff --git a/Documentation/translations/zh_TW/dev-tools/index.rst b/Documentation/translations/zh_TW/dev-tools/index.rst
new file mode 100644
index 000000000000..8f101db5a07f
--- /dev/null
+++ b/Documentation/translations/zh_TW/dev-tools/index.rst
@@ -0,0 +1,40 @@
+.. include:: ../disclaimer-zh_TW.rst
+
+:Original: Documentation/dev-tools/index.rst
+:Translator: Min-Hua Chen <minhuadotchen@gmail.com>
+
+============
+內核開發工具
+============
+
+本文檔是有關內核開發工具文檔的合集。
+目前這些文檔已經整理在一起,不需要再花費額外的精力。
+歡迎任何補丁。
+
+有關測試專用工具的簡要概述,參見
+Documentation/dev-tools/testing-overview.rst
+
+.. class:: toc-title
+
+	   目錄
+
+.. toctree::
+   :maxdepth: 2
+
+   sparse
+
+Todolist:
+
+ - coccinelle
+ - kcov
+ - ubsan
+ - kmemleak
+ - kcsan
+ - kfence
+ - kgdb
+ - kselftest
+ - kunit/index
+ - testing-overview
+ - gcov
+ - kasan
+ - gdb-kernel-debugging
diff --git a/Documentation/translations/zh_TW/index.rst b/Documentation/translations/zh_TW/index.rst
index e7c83868e780..2fe6832a21c3 100644
--- a/Documentation/translations/zh_TW/index.rst
+++ b/Documentation/translations/zh_TW/index.rst
@@ -70,10 +70,10 @@ TODOlist:
    :maxdepth: 2
 
    process/index
+   dev-tools/index
 
 TODOList:
 
-* dev-tools/index
 * doc-guide/index
 * kernel-hacking/index
 * trace/index
-- 
2.34.1


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

* Re: [PATCH v2 0/3] convert TW translation sparse.txt to RST
  2023-08-13 16:29 [PATCH v2 0/3] convert TW translation sparse.txt to RST Min-Hua Chen
                   ` (2 preceding siblings ...)
  2023-08-13 16:29 ` [PATCH v2 3/3] docs: sparse: add sparse.rst to toctree Min-Hua Chen
@ 2023-08-28 18:51 ` Jonathan Corbet
  2023-08-30 23:27   ` Min-Hua Chen
  3 siblings, 1 reply; 6+ messages in thread
From: Jonathan Corbet @ 2023-08-28 18:51 UTC (permalink / raw)
  To: Min-Hua Chen, Hu Haowen
  Cc: Randy Dunlap, linux-doc-tw-discuss, linux-doc, linux-kernel,
	Min-Hua Chen

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

> These patches move TW sparse.txt to TW dev-tools and
> convert TW sparse.txt to RST, based on [1].
> Add the RST to toctree [2].
>
> Randy said [1]:
> "
> it would be good if someone would update/modify this
> sparse.txt file to be in Documentation/translation/zh_TW/dev-tools/
> and convert it to sparse.rst (IMO).
> "
>
> [1] https://lore.kernel.org/lkml/bfab7c5b-e4d3-d8d9-afab-f43c0cdf26cf@infradead.org/
> [2] https://lore.kernel.org/lkml/87a5uxxqf3.fsf@meer.lwn.net/
>
>
>
> Min-Hua Chen (3):
>   docs: sparse: move TW sparse.txt to TW dev-tools
>   docs: sparse: convert sparse.txt to RST
>   docs: sparse: add sparse.rst to toctree
>
>  .../translations/zh_TW/dev-tools/index.rst    | 40 +++++++++++++++++++
>  .../{sparse.txt => dev-tools/sparse.rst}      |  2 +-
>  Documentation/translations/zh_TW/index.rst    |  2 +-
>  3 files changed, 42 insertions(+), 2 deletions(-)
>  create mode 100644 Documentation/translations/zh_TW/dev-tools/index.rst
>  rename Documentation/translations/zh_TW/{sparse.txt => dev-tools/sparse.rst} (99%)

This series doesn't apply to docs-next (the final patch, in particular,
is problematic).  Can you respin and resend, please?

Thanks,

jon

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

* Re: [PATCH v2 0/3] convert TW translation sparse.txt to RST
  2023-08-28 18:51 ` [PATCH v2 0/3] convert TW translation sparse.txt to RST Jonathan Corbet
@ 2023-08-30 23:27   ` Min-Hua Chen
  0 siblings, 0 replies; 6+ messages in thread
From: Min-Hua Chen @ 2023-08-30 23:27 UTC (permalink / raw)
  To: corbet
  Cc: linux-doc-tw-discuss, linux-doc, linux-kernel, minhuadotchen,
	rdunlap, src.res

>>  .../translations/zh_TW/dev-tools/index.rst    | 40 +++++++++++++++++++
>>  .../{sparse.txt => dev-tools/sparse.rst}      |  2 +-
>>  Documentation/translations/zh_TW/index.rst    |  2 +-
>>  3 files changed, 42 insertions(+), 2 deletions(-)
>>  create mode 100644 Documentation/translations/zh_TW/dev-tools/index.rst
>>  rename Documentation/translations/zh_TW/{sparse.txt => dev-tools/sparse.rst} (99%)
>
>This series doesn't apply to docs-next (the final patch, in particular,
>is problematic).  Can you respin and resend, please?

No problem. I will respin and resend the patches.

Cheers,
Min-Hua
>
>Thanks,
>
>jon

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

end of thread, other threads:[~2023-08-30 23:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-13 16:29 [PATCH v2 0/3] convert TW translation sparse.txt to RST Min-Hua Chen
2023-08-13 16:29 ` [PATCH v2 1/3] docs: sparse: move TW sparse.txt to TW dev-tools Min-Hua Chen
2023-08-13 16:29 ` [PATCH v2 2/3] docs: sparse: convert sparse.txt to RST Min-Hua Chen
2023-08-13 16:29 ` [PATCH v2 3/3] docs: sparse: add sparse.rst to toctree Min-Hua Chen
2023-08-28 18:51 ` [PATCH v2 0/3] convert TW translation sparse.txt to RST Jonathan Corbet
2023-08-30 23:27   ` 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).