linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix checktransupdate.py and add help documents
@ 2024-07-19  4:13 Dongliang Mu
  2024-07-19  4:13 ` [PATCH v3 1/2] scripts: fix all issues reported by pylint Dongliang Mu
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dongliang Mu @ 2024-07-19  4:13 UTC (permalink / raw)
  To: chengziqiu; +Cc: linux-doc, Dongliang Mu

This patch set fixes all the issues in the checktransupdate.py reported
by pylint, and add help documents in both English and Chinese.

v3:
1) fixes all the issues (not most) reported by pylint,
2) add the functionability to tackle documents that need translation,
3) add logging to adjust the logging level and log file
4) fix some issues by Yanteng and Jani

v2:
fix some issues according to Randy

v1:
This patch fixes most issues with the following contents:
- add or revise comments for all functions
- use format string suggested by python

Add help documentation of scripts/checktransupdate.py

Dongliang Mu (2):
  scripts: fix all issues reported by pylint
  doc-guide: add help documentation checktransupdate.rst

 Documentation/doc-guide/checktransupdate.rst  |  53 +++++
 Documentation/doc-guide/index.rst             |   1 +
 .../zh_CN/doc-guide/checktransupdate.rst      |  55 +++++
 .../translations/zh_CN/doc-guide/index.rst    |   1 +
 scripts/checktransupdate.py                   | 214 ++++++++++++------
 5 files changed, 251 insertions(+), 73 deletions(-)
 create mode 100644 Documentation/doc-guide/checktransupdate.rst
 create mode 100644 Documentation/translations/zh_CN/doc-guide/checktransupdate.rst

-- 
2.43.0


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

end of thread, other threads:[~2024-07-31 13:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-19  4:13 [PATCH v3 0/2] Fix checktransupdate.py and add help documents Dongliang Mu
2024-07-19  4:13 ` [PATCH v3 1/2] scripts: fix all issues reported by pylint Dongliang Mu
2024-07-19  9:08   ` Yanteng Si
2024-07-19  4:13 ` [PATCH v3 2/2] doc-guide: add help documentation checktransupdate.rst Dongliang Mu
2024-07-19  9:08   ` Yanteng Si
2024-07-29 21:44   ` Jonathan Corbet
2024-07-30  3:43     ` Dongliang Mu
2024-07-30 13:39       ` Jonathan Corbet
2024-07-31  7:18     ` Dongliang Mu
2024-07-31 13:01       ` Jonathan Corbet
2024-07-19  4:17 ` [PATCH v3 0/2] Fix checktransupdate.py and add help documents Dongliang Mu

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