]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
docs: conf.py: get rid of load_config.py
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 20 Sep 2025 09:40:26 +0000 (11:40 +0200)
committerJonathan Corbet <corbet@lwn.net>
Sun, 21 Sep 2025 22:40:37 +0000 (16:40 -0600)
commit72603d73fae3d727fd1c97ab003940f1c2309226
tree2f9611cc9526e67b8d3a549db5253500e3a4aa40
parentc2381e8a6105dcc3eeee93766ba628cf656057f3
docs: conf.py: get rid of load_config.py

The code here was meant to handle 3 functions:
1. allow having a separate conf.py file, per subdir;
2. generate a list of latex documents.
3. set "subproject" tag if SPHINXDIRS points to a subdir.

We don't have (1) anymore, and (3) is now properly handled
entirely inside conf.py.

So, only (3) is still needed, and this is a single-line change
at conf.py.

So, drop it, moving the remaining code to conf.py.

While here, drop a duplicated $(RUSTDOC) command-line argument.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <ec998f9f268a401ca6aa36e3221d39c97efeccaa.1758361087.git.mchehab+huawei@kernel.org>
Documentation/Makefile
Documentation/conf.py
Documentation/sphinx/load_config.py [deleted file]
tools/docs/sphinx-build-wrapper