summaryrefslogtreecommitdiffstats
path: root/Utilities/Sphinx/conf.py.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-14 14:26:11 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-14 14:30:34 (GMT)
commitbb9c69ed7052614546d34d98a9cf1218e4a45bdc (patch)
treeeb778d0c9d40d457af2be84843c05e5f6aa4db6e /Utilities/Sphinx/conf.py.in
parent414704e895f5113f88caa793c77b8710694779bf (diff)
downloadCMake-bb9c69ed7052614546d34d98a9cf1218e4a45bdc.zip
CMake-bb9c69ed7052614546d34d98a9cf1218e4a45bdc.tar.gz
CMake-bb9c69ed7052614546d34d98a9cf1218e4a45bdc.tar.bz2
Utilities/Sphinx: Update man page config for Sphinx 4
Sphinx 4 by default generates `man/#/foo.#`, but older versions generate `man/foo.#` as our install rules expect. Update our Sphinx config file to tell Sphinx 4 to use the old layout. Fixes: #22192
Diffstat (limited to 'Utilities/Sphinx/conf.py.in')
-rw-r--r--Utilities/Sphinx/conf.py.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in
index 5def681..c383828 100644
--- a/Utilities/Sphinx/conf.py.in
+++ b/Utilities/Sphinx/conf.py.in
@@ -53,6 +53,7 @@ for fpath in cmake_manuals:
except Exception as e:
sys.stderr.write("ERROR: %s\n" % str(e))
man_show_urls = False
+man_make_section_directory = False
html_show_sourcelink = True
html_static_path = ['@conf_path@/static']