]> git.cworth.org Git - notmuch/commit
doc: fix man page build for Sphinx 4.x
authorJani Nikula <jani@nikula.org>
Tue, 18 May 2021 21:40:44 +0000 (00:40 +0300)
committerDavid Bremner <david@tethera.net>
Wed, 19 May 2021 11:26:22 +0000 (08:26 -0300)
commit5197d3e11f5774a5eb9989cdbea07112a7f18fb8
tree6088b2bfa946e179745b902c01b1736c5c9412c3
parentb580009e2bc69efb019983bf2f7dc5052c19545a
doc: fix man page build for Sphinx 4.x

Sphinx 4.0 changed the default value of man_make_section_directory
from False to True. We create the section directories and move the
files manually, so fix the immediate man build failure by disabling
the feature.

The Sphinx documentation on this [1] is confusing, and has the change
backwards. Git history says the default changed from False to True.

[1] https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-man_make_section_directory
doc/conf.py