[PATCH 08/13] docs: move test_doc_build.py to tools/doc

Jonathan Corbet posted 13 patches 1 month, 3 weeks ago
[PATCH 08/13] docs: move test_doc_build.py to tools/doc
Posted by Jonathan Corbet 1 month, 3 weeks ago
Add this tool to tools/doc.

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

diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation/doc-guide/sphinx.rst
index 2a0fc6c39cf4..d874dd0ed7d0 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/doc/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/doc/test_doc_build.py
similarity index 100%
rename from scripts/test_doc_build.py
rename to tools/doc/test_doc_build.py
-- 
2.50.1
Re: [PATCH 08/13] docs: move test_doc_build.py to tools/doc
Posted by Mauro Carvalho Chehab 1 month, 3 weeks ago
Em Wed, 13 Aug 2025 15:32:07 -0600
Jonathan Corbet <corbet@lwn.net> escreveu:

> Add this tool to tools/doc.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> 
> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
> ---
>  Documentation/doc-guide/sphinx.rst       | 2 +-
>  {scripts => tools/doc}/test_doc_build.py | 0
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename {scripts => tools/doc}/test_doc_build.py (100%)
> 
> diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation/doc-guide/sphinx.rst
> index 2a0fc6c39cf4..d874dd0ed7d0 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/doc/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/doc/test_doc_build.py
> similarity index 100%
> rename from scripts/test_doc_build.py
> rename to tools/doc/test_doc_build.py



Thanks,
Mauro