bind9/doc
Petr Mensik 8f8bbae3fc Enable building documentation with Sphinx < 2.0.0
The ReferenceRole class is only available in Sphinx >= 2.0.0, which
makes building BIND 9 documentation impossible with older Sphinx
versions:

    Running Sphinx v1.7.6

    Configuration error:
    There is a programable error in your configuration file:

    Traceback (most recent call last):
      File "/usr/lib/python3.6/site-packages/sphinx/config.py", line 161, in __init__
        execfile_(filename, config)
      File "/usr/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
        exec_(code, _globals)
      File "conf.py", line 21, in <module>
        from sphinx.util.docutils import ReferenceRole
    ImportError: cannot import name 'ReferenceRole'

Work around the problem by defining a stub version of the ReferenceRole
class if the latter cannot be imported.  This allows documentation
(without GitLab hyperlinks in release notes) to be built with older
Sphinx versions.
2021-10-19 13:41:57 +02:00
..
arm Enable building documentation with Sphinx < 2.0.0 2021-10-19 13:41:57 +02:00
design Replace "master/slave" terms in code 2021-10-12 13:11:13 -07:00
dev remove all references to isc_socket and related types 2021-10-15 01:01:25 -07:00
dnssec-guide Fix missing iterations value in dnssec-guide 2021-08-11 08:39:34 +00:00
doxygen Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
man remove all references to isc_socket and related types 2021-10-15 01:01:25 -07:00
misc remove all references to isc_socket and related types 2021-10-15 01:01:25 -07:00
notes CHANGES and release note for [GL #2926] 2021-10-15 01:01:25 -07:00
Makefile.am Install man pages when sphinx-build tool is missing 2021-05-25 11:21:32 +02:00