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
This commit is contained in:
Jani Nikula 2021-05-19 00:40:44 +03:00 committed by David Bremner
parent b580009e2b
commit 5197d3e11f

View file

@ -87,6 +87,8 @@ html_use_smartypants = False
notmuch_authors = u'Carl Worth and many others' notmuch_authors = u'Carl Worth and many others'
man_make_section_directory = False
man_pages = [ man_pages = [
('man1/notmuch', 'notmuch', ('man1/notmuch', 'notmuch',
u'thread-based email index, search, and tagging', u'thread-based email index, search, and tagging',