linux/Documentation/sphinx
Jonathan Corbet 44167b74a8 docs: Fix the docs build with Sphinx 6.0
commit 0283189e8f upstream.

Sphinx 6.0 removed the execfile_() function, which we use as part of the
configuration process.  They *did* warn us...  Just open-code the
functionality as is done in Sphinx itself.

Tested (using SPHINX_CONF, since this code is only executed with an
alternative config file) on various Sphinx versions from 2.5 through 6.0.

Reported-by: Martin Liška <mliska@suse.cz>
Cc: stable@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 11:48:48 +01:00
..
automarkup.py docs: Enable usage of relative paths to docs on automarkup 2021-02-04 16:23:43 -07:00
cdomain.py Move our minimum Sphinx version to 1.7 2021-02-01 16:29:12 -07:00
kernel_abi.py Move our minimum Sphinx version to 1.7 2021-02-01 16:29:12 -07:00
kernel_feat.py Move our minimum Sphinx version to 1.7 2021-02-01 16:29:12 -07:00
kernel_include.py docs: sphinx-extensions: add metadata parallel-safe 2016-09-01 08:19:02 -06:00
kerneldoc.py Move our minimum Sphinx version to 1.7 2021-02-01 16:29:12 -07:00
kernellog.py Move our minimum Sphinx version to 1.7 2021-02-01 16:29:12 -07:00
kfigure.py Docs: drop Python 2 support 2021-02-01 17:17:14 -07:00
load_config.py docs: Fix the docs build with Sphinx 6.0 2023-01-18 11:48:48 +01:00
maintainers_include.py Docs: drop Python 2 support 2021-02-01 17:17:14 -07:00
parallel-wrapper.sh docs: Fix empty parallelism argument 2020-02-25 03:11:04 -07:00
parse-headers.pl tweewide: Fix most Shebang lines 2020-12-08 23:30:04 +09:00
requirements.txt docs: sphinx/requirements: Limit jinja2<3.1 2022-04-08 14:22:49 +02:00
rstFlatTable.py docs: sphinx: Fix couple of spellings in the file rstFlatTable.py 2021-03-06 17:36:50 -07:00