Skip to content

tools/docs: sphinx-build-wrapper: avoid spurious rust docs generation

Thomas Weißschuh linux-doc lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected] change-id 20260117-docs-spurious-rust-8ffa2748925c

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4tools/docs: sphinx-build-wrapper: generate rust docs only oncetools/docs/sphinx-build-wrapper+17 -170 replies
2/4tools/docs: sphinx-build-wrapper: make 'rustdoc' a local variabletools/docs/sphinx-build-wrapper+8 -90 replies
3/4tools/docs: sphinx-build-wrapper: compute sphinxdirs_list earliertools/docs/sphinx-build-wrapper+13 -130 replies
4/4tools/docs: sphinx-build-wrapper: only generate rust docs when requestedtools/docs/sphinx-build-wrapper+5 -20 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMauro Carvalho Chehab
SeriesR-b T-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] tools/docs: sphinx-build-wrapper: avoid spurious rust docs generation

Currently the rust docs are generated for each entry of SPHINXDIRS, even those not mentioning the rust directory.

Only generate the rust docs only once and only when requested.

---
Thomas Weißschuh (4):
tools/docs: sphinx-build-wrapper: generate rust docs only once tools/docs: sphinx-build-wrapper: make 'rustdoc' a local variable tools/docs: sphinx-build-wrapper: compute sphinxdirs_list earlier tools/docs: sphinx-build-wrapper: only generate rust docs when requested

 tools/docs/sphinx-build-wrapper | 80 +++++++++++++++++++++--------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

---
base-commit: e1a8301cd941b8029893500e6857d7978873483f
change-id: 20260117-docs-spurious-rust-8ffa2748925c

Best regards,

Signature · 1 line
Thomas Weißschuh <[email protected]>