]> git.ipfire.org Git - thirdparty/linux.git/commit
tools/docs: sphinx-build-wrapper: generate rust docs only once
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 17 Jan 2026 23:26:21 +0000 (00:26 +0100)
committerJonathan Corbet <corbet@lwn.net>
Fri, 23 Jan 2026 18:27:22 +0000 (11:27 -0700)
commit5094f7d5ff2318edfe6f2a9632b31f0ddefd6ee4
tree209b8e8030934e93eb1bfcbe8d7196e9db31e0db
parent36718450835cf89572bf569bff0927bc7ef2568a
tools/docs: sphinx-build-wrapper: generate rust docs only once

Currently the rust docs are generated for each entry in SPHINXDIRS.
This is unnecessary as they will be the same for each one.

Move the generation, so it is executed only once.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tested-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260118-docs-spurious-rust-v1-1-998e14b9ed9e@weissschuh.net>
tools/docs/sphinx-build-wrapper