]> git.ipfire.org Git - thirdparty/linux.git/commit
docs: Move the python libraries to tools/lib/python
authorJonathan Corbet <corbet@lwn.net>
Mon, 10 Nov 2025 22:04:29 +0000 (15:04 -0700)
committerJonathan Corbet <corbet@lwn.net>
Tue, 18 Nov 2025 16:22:40 +0000 (09:22 -0700)
commit778b8ebe5192e7a7f00563a7456517dfa63e1d90
treed2ed04960fe8ed6cebeb3bb3789de0e38c308ff9
parentf690e07859e67505e7106ef5b4fae5e8b71b2109
docs: Move the python libraries to tools/lib/python

"scripts/lib" was always a bit of an awkward place for Python modules.  We
already have tools/lib; create a tools/lib/python, move the libraries
there, and update the users accordingly.

While at it, move the contents of tools/docs/lib.  Rather than make another
directory, just put these documentation-oriented modules under "kdoc".

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20251110220430.726665-2-corbet@lwn.net>
28 files changed:
.pylintrc
Documentation/Makefile
Documentation/sphinx/kernel_abi.py
Documentation/sphinx/kernel_include.py
Documentation/sphinx/kerneldoc.py
MAINTAINERS
scripts/jobserver-exec
scripts/kernel-doc.py
tools/docs/check-variable-fonts.py
tools/docs/get_abi.py
tools/docs/lib/__init__.py [deleted file]
tools/docs/parse-headers.py
tools/docs/sphinx-build-wrapper
tools/docs/sphinx-pre-install
tools/lib/python/abi/abi_parser.py [moved from scripts/lib/abi/abi_parser.py with 100% similarity]
tools/lib/python/abi/abi_regex.py [moved from scripts/lib/abi/abi_regex.py with 100% similarity]
tools/lib/python/abi/helpers.py [moved from scripts/lib/abi/helpers.py with 100% similarity]
tools/lib/python/abi/system_symbols.py [moved from scripts/lib/abi/system_symbols.py with 100% similarity]
tools/lib/python/jobserver.py [moved from scripts/lib/jobserver.py with 100% similarity]
tools/lib/python/kdoc/enrich_formatter.py [moved from tools/docs/lib/enrich_formatter.py with 100% similarity]
tools/lib/python/kdoc/kdoc_files.py [moved from scripts/lib/kdoc/kdoc_files.py with 100% similarity]
tools/lib/python/kdoc/kdoc_item.py [moved from scripts/lib/kdoc/kdoc_item.py with 100% similarity]
tools/lib/python/kdoc/kdoc_output.py [moved from scripts/lib/kdoc/kdoc_output.py with 100% similarity]
tools/lib/python/kdoc/kdoc_parser.py [moved from scripts/lib/kdoc/kdoc_parser.py with 100% similarity]
tools/lib/python/kdoc/kdoc_re.py [moved from scripts/lib/kdoc/kdoc_re.py with 100% similarity]
tools/lib/python/kdoc/latex_fonts.py [moved from tools/docs/lib/latex_fonts.py with 100% similarity]
tools/lib/python/kdoc/parse_data_structs.py [moved from tools/docs/lib/parse_data_structs.py with 100% similarity]
tools/lib/python/kdoc/python_version.py [moved from tools/docs/lib/python_version.py with 100% similarity]