Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix building docs on Debian Bullseye (#1602)
When building docs with man pages (`--enable-manpages-in-doc`) the following issues exists: * Sphinx refdomain=None no longer works. In a previous fix (commit 388c0b6) refdomain=None was introduced. However this emits a deprecation warning on pre Debian Bullseye (i.e. Ubuntu Focal) and no longer works on Bullseye. Fix this by setting refdomain=std: RemovedInSphinx20Warning: Invalid pendig_xref node detected. :doc: reference should have refdomain=std attribute. * On Bullseye an other deprecation warning is emitted and no longer works the old way. Fixing this as suggested in the warning, while keeping support for sphinx before 2.1.0: RemovedInSphinx40Warning: app.add_lexer() API changed; Please give lexer class instead of instance Signed-off-by: Sascha Lucas <sascha_lucas@web.de>
- Loading branch information