Skip to contentSkip to conversation

docs/zh_TW: remove the unreachable plain-text translations

PATCH In review Chen-Yu Yeh 2 participants 2 messages Sep 29 – Oct 2

Subsystems (2)
lore
Share & tools
lore

Chen-Yu Yeh

author maintainer
#0 lore raw

PATCH 1/1 docs/zh_TW: remove the unreachable plain-text translations

These nine files predate the move of the documentation to reStructuredText. Sphinx only reads .rst sources, so none of them is part of the built documentation, and nothing in the zh_TW tree refers to them; they can only be found by browsing the source tree.

  zh_TW file                          English original
  IRQ.txt                             core-api/irq/index.rst
  io_ordering.txt                     driver-api/io_ordering.rst
  arch/arm/Booting                    arch/arm/booting.rst
  arch/arm/kernel_user_helpers.txt    arch/arm/kernel_user_helpers.rst
  arch/arm64/booting.txt              arch/arm64/booting.rst
  arch/arm64/legacy_instructions.txt  arch/arm64/legacy_instructions.rst
  arch/arm64/memory.txt               arch/arm64/memory.rst
  arch/arm64/silicon-errata.txt       arch/arm64/silicon-errata.rst
  arch/arm64/tagged-pointers.txt      arch/arm64/tagged-pointers.rst

Beyond the format, two of them no longer line up with the English tree at all: core-api/irq/index.rst is now only a toctree, the prose IRQ.txt translates having moved to core-api/irq/concepts.rst, and io_ordering.txt sits at the top level although its original lives under driver-api/.

As proposed in the zh_TW scope discussion and agreed there, remove them rather than convert them. arch/arm/Booting was also listed in the proposal as a translation whose original had moved; being one of these files, it is removed rather than relocated.

---
This applies on top of v2 of the contact-block cleanup:
https://lore.kernel.org/linux-doc/[email protected]/

That series still edits IRQ.txt, io_ordering.txt and the arch/arm{,64} plain-text files (3/7 and 7/7) so that it stands on its own; once this patch lands those hunks are moot. That also answers Jon's question on v1 7/7 about handling the old files together with the wider update:
they are removed here instead.

 Documentation/translations/zh_TW/IRQ.txt      |  33 ---
 .../translations/zh_TW/arch/arm/Booting       | 169 -----------
 .../zh_TW/arch/arm/kernel_user_helpers.txt    | 275 ------------------
 .../translations/zh_TW/arch/arm64/booting.txt | 243 ----------------
 .../zh_TW/arch/arm64/legacy_instructions.txt  |  66 -----
 .../translations/zh_TW/arch/arm64/memory.txt  | 110 -------
 .../zh_TW/arch/arm64/silicon-errata.txt       |  71 -----
 .../zh_TW/arch/arm64/tagged-pointers.txt      |  48 ---
 .../translations/zh_TW/io_ordering.txt        |  62 ----
 9 files changed, 1077 deletions(-)
 delete mode 100644 Documentation/translations/zh_TW/IRQ.txt
 delete mode 100644 Documentation/translations/zh_TW/arch/arm/Booting
 delete mode 100644 Documentation/translations/zh_TW/arch/arm/kernel_user_helpers.txt
 delete mode 100644 Documentation/translations/zh_TW/arch/arm64/booting.txt
 delete mode 100644 Documentation/translations/zh_TW/arch/arm64/legacy_instructions.txt
 delete mode 100644 Documentation/translations/zh_TW/arch/arm64/memory.txt
 delete mode 100644 Documentation/translations/zh_TW/arch/arm64/silicon-errata.txt
 delete mode 100644 Documentation/translations/zh_TW/arch/arm64/tagged-pointers.txt
 delete mode 100644 Documentation/translations/zh_TW/io_ordering.txt
Documentation/translations/zh_TW/IRQ.txt deleted +0 -33
deleted file mode 100644
index b9a3e18495d2..000000000000
@@ -1,33 +0,0 @@
-Chinese translated version of Documentation/core-api/irq/index.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.
-
----------------------------------------------------------------------
-Documentation/core-api/irq/index.rst 的繁體中文翻譯
-
-如果想評論或更新本文的內容,請直接聯繫原文檔的維護者。如果你使用英文
-交流有困難的話,也可以向繁體中文版維護者求助。如果本翻譯更新不及時或
-者翻譯存在問題,請聯繫繁體中文版維護者。
-
-以下爲正文
----------------------------------------------------------------------
-何爲 IRQ?
-
-一個 IRQ 是來自某個設備的一個中斷請求。目前,它們可以來自一個硬體引腳,
-或來自一個數據包。多個設備可能連接到同個硬體引腳,從而共享一個 IRQ。
-
-一個 IRQ 編號是用於告知硬體中斷源的內核標識。通常情況下,這是一個
-全局 irq_desc 數組的索引,但是除了在 linux/interrupt.h 中的實現,
-具體的細節是體系結構特定的。
-
-一個 IRQ 編號是設備上某個可能的中斷源的枚舉。通常情況下,枚舉的編號是
-該引腳在系統內中斷控制器的所有輸入引腳中的編號。對於 ISA 總線中的情況,
-枚舉的是在兩個 i8259 中斷控制器中 16 個輸入引腳。
-
-架構可以對 IRQ 編號指定額外的含義,在硬體涉及任何手工配置的情況下,
-是被提倡的。ISA 的 IRQ 是一個分配這類額外含義的典型例子。
-
Documentation/translations/zh_TW/arch/arm/Booting deleted +0 -169

169 lines not on this page · raw message

Documentation/translations/zh_TW/arch/arm/kernel_user_helpers.txt deleted +0 -275

275 lines not on this page · raw message

Documentation/translations/zh_TW/arch/arm64/booting.txt deleted +0 -243

243 lines not on this page · raw message

Documentation/translations/zh_TW/arch/arm64/legacy_instructions.txt deleted +0 -66

66 lines not on this page · raw message

Documentation/translations/zh_TW/arch/arm64/memory.txt deleted +0 -110

110 lines not on this page · raw message

Documentation/translations/zh_TW/arch/arm64/silicon-errata.txt deleted +0 -71

71 lines not on this page · raw message

Documentation/translations/zh_TW/arch/arm64/tagged-pointers.txt deleted +0 -48

48 lines not on this page · raw message

Documentation/translations/zh_TW/io_ordering.txt deleted +0 -62

62 lines not on this page · raw message

Signature · 1 line
2.43.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 34 lines · Chen-Yu Yeh

These nine files predate the move of the documentation to reStructuredText. Sphinx only reads .rst sources, so none of them is part of the built documentation, and nothing in the zh_TW tree refers to them; they can only be found by browsing the source tree.

  zh_TW file                          English original
  IRQ.txt                             core-api/irq/index.rst
  io_ordering.txt                     driver-api/io_ordering.rst
  arch/arm/Booting                    arch/arm/booting.rst
  arch/arm/kernel_user_helpers.txt    arch/arm/kernel_user_helpers.rst
  arch/arm64/booting.txt              arch/arm64/booting.rst
  arch/arm64/legacy_instructions.txt  arch/arm64/legacy_instructions.rst
  arch/arm64/memory.txt               arch/arm64/memory.rst
  arch/arm64/silicon-errata.txt       arch/arm64/silicon-errata.rst
  arch/arm64/tagged-pointers.txt      arch/arm64/tagged-pointers.rst

Beyond the format, two of them no longer line up with the English tree at all: core-api/irq/index.rst is now only a toctree, the prose IRQ.txt translates having moved to core-api/irq/concepts.rst, and io_ordering.txt sits at the top level although its original lives under driver-api/.

As proposed in the zh_TW scope discussion and agreed there, remove them rather than convert them. arch/arm/Booting was also listed in the proposal as a translation whose original had moved; being one of these files, it is removed rather than relocated.

---
This applies on top of v2 of the contact-block cleanup:
https://lore.kernel.org/linux-doc/[email protected]/

Quoted 5 lines

That series still edits IRQ.txt, io_ordering.txt and the arch/arm{,64} plain-text files (3/7 and 7/7) so that it stands on its own; once this patch lands those hunks are moot. That also answers Jon's question on v1 7/7 about handling the old files together with the wider update:
they are removed here instead.

So please don't forget to check the sequence when applying this. :)

Tested with 'make cleandocs && make htmldocs', no extra warnings caused.

Thanks.