[PATCH v2 0/3] A couple of patches for sphinx-build-wrapper

From: Mauro Carvalho Chehab

Date: Sat Sep 20 2025 - 05:40:34 EST


Hi Jon,

This small series is against docs/build-script branch.

The first patch addresses the lack of a check after running
sphinx-build to see if it returned some error code.

The second patch is a partial revert: we wneded including
sphinx-build-wrapper twice due to a badly-solved rebase from
my side.

The third patch is a bonus cleanup: it get rids with
load_config.py, replacing it by a single line at conf.py,
simplifying even further docs Makefile and docs build system.

Mauro Carvalho Chehab (3):
tools/docs: sphinx-build-wrapper: handle sphinx-build errors
scripts: remove sphinx-build-wrapper from scripts/
docs: conf.py: get rid of load_config.py

Documentation/Makefile | 8 +-
Documentation/conf.py | 15 +-
Documentation/sphinx/load_config.py | 60 ---
scripts/sphinx-build-wrapper | 719 ----------------------------
tools/docs/sphinx-build-wrapper | 18 +-
5 files changed, 16 insertions(+), 804 deletions(-)
delete mode 100644 Documentation/sphinx/load_config.py
delete mode 100755 scripts/sphinx-build-wrapper

--
2.51.0