[PATCH v3 5/8] docs: move test_doc_build.py to tools/docs

From: Jonathan Corbet
Date: Fri Oct 24 2025 - 16:09:27 EST


Add this tool to tools/docs.

Acked-by: Jani Nikula <jani.nikula@xxxxxxxxx>
Signed-off-by: Jonathan Corbet <corbet@xxxxxxx>
---
Documentation/doc-guide/sphinx.rst | 2 +-
{scripts => tools/docs}/test_doc_build.py | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename {scripts => tools/docs}/test_doc_build.py (100%)

diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation/doc-guide/sphinx.rst
index 932f68c53075..51c370260f3b 100644
--- a/Documentation/doc-guide/sphinx.rst
+++ b/Documentation/doc-guide/sphinx.rst
@@ -149,7 +149,7 @@ a venv with it with, and install minimal requirements with::

A more comprehensive test can be done by using:

- scripts/test_doc_build.py
+ tools/docs/test_doc_build.py

Such script create one Python venv per supported version,
optionally building documentation for a range of Sphinx versions.
diff --git a/scripts/test_doc_build.py b/tools/docs/test_doc_build.py
similarity index 100%
rename from scripts/test_doc_build.py
rename to tools/docs/test_doc_build.py
--
2.51.0