With the latest commits to fix building language=el manpages, I was able to complete a manpage build. But I wasn't able to duplicate it in a clean build, and it seems that the reason is because generate_docs() is not automatically called before setup_man_pages().
I think the reason this worked outside of my clean build, is because at one point in the past I had experimented with building the HTML manual and "manual/generated/${langs[@]}" existed as a result.
Spoiler:
Code:
# Sphinx version: 1.6.3
# Python version: 2.7.13 (CPython)
# Docutils version: 0.13.1 release
# Jinja2 version: 2.9.6
# Last messages:
# Loaded extensions:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/sphinx/cmdline.py", line 305, in main
opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)
File "/usr/lib/python2.7/site-packages/sphinx/application.py", line 168, in __init__
confoverrides or {}, self.tags)
File "/usr/lib/python2.7/site-packages/sphinx/config.py", line 150, in __init__
execfile_(filename, config)
File "/usr/lib/python2.7/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "/usr/lib/python2.7/site-packages/six.py", line 699, in exec_
exec("""exec _code_ in _globs_, _locs_""")
File "<string>", line 1, in <module>
File "conf.py", line 55, in <module>
ge = {'generated/' + x for x in os.listdir('generated')} | {
OSError: [Errno 2] No such file or directory: 'generated'
By the way, thanks *a lot* for being so patient and fixing all these things I keep bringing up.