From: Jonathan Corbet <corbet@lwn.net>
To: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
Akira Yokosawa <akiyks@gmail.com>,
Randy Dunlap <rdunlap@infradead.org>, Alex Shi <alexs@kernel.org>,
Yanteng Si <si.yanteng@linux.dev>,
Dongliang Mu <dzm91@hust.edu.cn>
Subject: Re: [PATCH RFC 00/13] Collect documention-related tools under tools/doc
Date: Wed, 13 Aug 2025 15:38:41 -0600 [thread overview]
Message-ID: <87y0rmaom6.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20250813213218.198582-1-corbet@lwn.net>
[Adding some CCs - sorry, folks, I messed that part up somehow...]
Jonathan Corbet <corbet@lwn.net> writes:
> Our documentation-related tools are spread out over various directories;
> several are buried in the scripts/ dumping ground. That makes them harder
> to discover and harder to maintain.
>
> Recently, the idea of creating a dedicated directory for documentation tools
> came up; I decided to see what it would look like. This series creates a
> new directory, tools/doc, and moves various utilities there, hopefully
> fixing up all of the relevant references in the process.
>
> At the end, rather than move the old, Perl kernel-doc, I simply removed it.
>
> The big elephant lurking in this small room is the home for Python modules;
> I left them under scripts/lib, but that is an even less appropriate place
> than it was before. I would propose either tools/python or lib/python;
> thoughts on that matter welcome.
>
>
> Jonathan Corbet (13):
> docs: Move the "features" tools to tools/doc
> docs: move checktransupdate.py to tools/doc
> docs: move scripts/check-variable-fonts.sh to tools/doc
> docs: move scripts/documentation-file-ref-check to tools/doc
> docs: move parallel-wrapper.sh to tools/doc/
> docs: move get_abi.py to tools/doc
> docs: move sphinx-pre-install to tools/doc
> docs: move test_doc_build.py to tools/doc
> docs: move parse-headers.pl to tools/doc
> docs: move kernel-doc to tools/doc
> docs: move split-man.pl to tools/doc
> docs: move find-unused-docs.sh to tools/doc
> docs: remove kernel-doc.pl
>
> Documentation/Kconfig | 2 +-
> Documentation/Makefile | 24 +-
> Documentation/conf.py | 2 +-
> Documentation/doc-guide/checktransupdate.rst | 6 +-
> Documentation/doc-guide/contributing.rst | 2 +-
> Documentation/doc-guide/kernel-doc.rst | 18 +-
> Documentation/doc-guide/parse-headers.rst | 6 +-
> Documentation/doc-guide/sphinx.rst | 6 +-
> Documentation/kbuild/kbuild.rst | 2 +-
> Documentation/process/coding-style.rst | 2 +-
> Documentation/sphinx/kernel_abi.py | 2 +-
> Documentation/sphinx/kernel_feat.py | 4 +-
> Documentation/sphinx/kerneldoc-preamble.sty | 2 +-
> .../it_IT/doc-guide/kernel-doc.rst | 8 +-
> .../it_IT/doc-guide/parse-headers.rst | 6 +-
> .../translations/it_IT/doc-guide/sphinx.rst | 4 +-
> .../sp_SP/process/coding-style.rst | 2 +-
> .../zh_CN/doc-guide/checktransupdate.rst | 6 +-
> .../zh_CN/doc-guide/contributing.rst | 2 +-
> .../zh_CN/doc-guide/kernel-doc.rst | 16 +-
> .../zh_CN/doc-guide/parse-headers.rst | 6 +-
> .../translations/zh_CN/doc-guide/sphinx.rst | 4 +-
> Documentation/translations/zh_CN/how-to.rst | 4 +-
> .../translations/zh_CN/kbuild/kbuild.rst | 2 +-
> .../zh_CN/process/coding-style.rst | 2 +-
> .../zh_TW/process/coding-style.rst | 2 +-
> Documentation/userspace-api/media/Makefile | 2 +-
> MAINTAINERS | 11 +-
> Makefile | 2 +-
> drivers/gpu/drm/i915/Makefile | 2 +-
> scripts/kernel-doc | 1 -
> scripts/kernel-doc.pl | 2439 -----------------
> .../doc}/check-variable-fonts.sh | 2 +-
> {scripts => tools/doc}/checktransupdate.py | 8 +-
> .../doc}/documentation-file-ref-check | 2 +-
> .../scripts => tools/doc}/features-refresh.sh | 0
> {scripts => tools/doc}/find-unused-docs.sh | 8 +-
> {scripts => tools/doc}/get_abi.py | 0
> {scripts => tools/doc}/get_feat.pl | 2 +-
> scripts/kernel-doc.py => tools/doc/kernel-doc | 0
> .../features => tools/doc}/list-arch.sh | 2 +-
> .../sphinx => tools/doc}/parallel-wrapper.sh | 0
> .../sphinx => tools/doc}/parse-headers.pl | 4 +-
> {scripts => tools/doc}/sphinx-pre-install | 2 +-
> {scripts => tools/doc}/split-man.pl | 0
> {scripts => tools/doc}/test_doc_build.py | 0
> 46 files changed, 91 insertions(+), 2538 deletions(-)
> delete mode 120000 scripts/kernel-doc
> delete mode 100755 scripts/kernel-doc.pl
> rename {scripts => tools/doc}/check-variable-fonts.sh (98%)
> rename {scripts => tools/doc}/checktransupdate.py (98%)
> rename {scripts => tools/doc}/documentation-file-ref-check (99%)
> rename {Documentation/features/scripts => tools/doc}/features-refresh.sh (100%)
> rename {scripts => tools/doc}/find-unused-docs.sh (79%)
> rename {scripts => tools/doc}/get_abi.py (100%)
> rename {scripts => tools/doc}/get_feat.pl (99%)
> rename scripts/kernel-doc.py => tools/doc/kernel-doc (100%)
> rename {Documentation/features => tools/doc}/list-arch.sh (83%)
> rename {Documentation/sphinx => tools/doc}/parallel-wrapper.sh (100%)
> rename {Documentation/sphinx => tools/doc}/parse-headers.pl (98%)
> rename {scripts => tools/doc}/sphinx-pre-install (99%)
> rename {scripts => tools/doc}/split-man.pl (100%)
> rename {scripts => tools/doc}/test_doc_build.py (100%)
>
> --
> 2.50.1
next prev parent reply other threads:[~2025-08-13 21:38 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-13 21:31 Jonathan Corbet
2025-08-13 21:32 ` [PATCH 01/13] docs: Move the "features" tools to tools/doc Jonathan Corbet
2025-08-13 23:38 ` Mauro Carvalho Chehab
2025-08-13 23:42 ` Randy Dunlap
2025-08-14 5:56 ` Mauro Carvalho Chehab
2025-08-14 5:57 ` Randy Dunlap
2025-08-13 21:32 ` [PATCH 02/13] docs: move checktransupdate.py " Jonathan Corbet
2025-08-13 23:51 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 03/13] docs: move scripts/check-variable-fonts.sh " Jonathan Corbet
2025-08-13 23:46 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 04/13] docs: move scripts/documentation-file-ref-check " Jonathan Corbet
2025-08-13 23:47 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 05/13] docs: move parallel-wrapper.sh to tools/doc/ Jonathan Corbet
2025-08-13 23:31 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 06/13] docs: move get_abi.py to tools/doc Jonathan Corbet
2025-08-13 23:43 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 07/13] docs: move sphinx-pre-install " Jonathan Corbet
2025-08-13 23:36 ` Mauro Carvalho Chehab
2025-08-14 2:14 ` Jonathan Corbet
2025-08-14 6:21 ` Mauro Carvalho Chehab
2025-08-14 13:52 ` Jonathan Corbet
2025-08-15 5:18 ` Mauro Carvalho Chehab
2025-08-15 13:18 ` Jonathan Corbet
2025-08-15 15:13 ` Mauro Carvalho Chehab
2025-08-15 19:31 ` Jonathan Corbet
2025-08-16 9:34 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 08/13] docs: move test_doc_build.py " Jonathan Corbet
2025-08-13 23:36 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 09/13] docs: move parse-headers.pl " Jonathan Corbet
2025-08-13 23:32 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 10/13] docs: move kernel-doc " Jonathan Corbet
2025-08-13 23:33 ` Mauro Carvalho Chehab
2025-08-13 23:48 ` Mauro Carvalho Chehab
2025-08-14 12:13 ` kernel test robot
2025-08-13 21:32 ` [PATCH 11/13] docs: move split-man.pl " Jonathan Corbet
2025-08-13 23:50 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 12/13] docs: move find-unused-docs.sh " Jonathan Corbet
2025-08-13 23:50 ` Mauro Carvalho Chehab
2025-08-13 21:32 ` [PATCH 13/13] docs: remove kernel-doc.pl Jonathan Corbet
2025-08-13 23:33 ` Mauro Carvalho Chehab
2025-08-15 2:43 ` Randy Dunlap
2025-08-15 4:45 ` Mauro Carvalho Chehab
2025-08-13 21:38 ` Jonathan Corbet [this message]
2025-08-13 23:29 ` [PATCH RFC 00/13] Collect documention-related tools under tools/doc Mauro Carvalho Chehab
2025-08-14 14:59 ` Jani Nikula
2025-08-15 2:53 ` Randy Dunlap
2025-08-15 8:29 ` Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y0rmaom6.fsf@trenco.lwn.net \
--to=corbet@lwn.net \
--cc=akiyks@gmail.com \
--cc=alexs@kernel.org \
--cc=dzm91@hust.edu.cn \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab+huawei@kernel.org \
--cc=rdunlap@infradead.org \
--cc=si.yanteng@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®