1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 03:48:02 +08:00

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
This commit is contained in:
Brad King
2021-05-14 10:26:11 -04:00
parent 414704e895
commit bb9c69ed70

View File

@@ -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']