For some unknown historical reason, our documentation build uses a custom manpage generator, rather than the stock one provided by Sphinx. It keeps getting broken by incompatible new Sphinx versions.
This PR switches the docs build to use the stock manpage generator, and then removes the parts we're no longer using.
Reviewers: Two paths to test, each starting from a clean repository, and assuming you have all the prereqs for building the docs:
autoreconf -i -s && ./configure && make man => lots of warnings (that were already there, and which I'm not trying to address), but should succeed. Produces man pages in man/, which can be viewed by e.g. man man/sasl_callbacks.3. Check that they're not empty files and are formatted okay.
make -C docsrc man => different output, same warnings, should succeed. Produces man pages in docsrc/build/man, verify as above.
For some unknown historical reason, our documentation build uses a custom manpage generator, rather than the stock one provided by Sphinx. It keeps getting broken by incompatible new Sphinx versions.
This PR switches the docs build to use the stock manpage generator, and then removes the parts we're no longer using.
Equivalent changes were already landed for cyrus-imapd as https://github.com/cyrusimap/cyrus-imapd/pull/4561
Reviewers: Two paths to test, each starting from a clean repository, and assuming you have all the prereqs for building the docs:
autoreconf -i -s && ./configure && make man
=> lots of warnings (that were already there, and which I'm not trying to address), but should succeed. Produces man pages inman/
, which can be viewed by e.g.man man/sasl_callbacks.3
. Check that they're not empty files and are formatted okay.make -C docsrc man
=> different output, same warnings, should succeed. Produces man pages indocsrc/build/man
, verify as above.