]> git.notmuchmail.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:52:48 +0000 (08:52 -0300)
commit59c953656dbd2e65265a2c850f2375afc9d69589
tree70e47d7cc14878fe42ceabce02c389cd0fc9799d
parent92454bc0935604f4a623e75dec9506c0283eee70
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