mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-03 14:00:47 -05:00
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.
|
||
|---|---|---|
| .. | ||
| .gitattributes | ||
| .gitignore | ||
| advanced.rst | ||
| catz.rst | ||
| conf.py | ||
| configuration.rst | ||
| dlz.rst | ||
| dnssec-guide.rst | ||
| dnssec.rst | ||
| dyndb.rst | ||
| general.rst | ||
| history.rst | ||
| index.rst | ||
| introduction.rst | ||
| isc-logo.pdf | ||
| logging-categories.rst | ||
| Makefile.am | ||
| managed-keys.rst | ||
| manpages.rst | ||
| notes.rst | ||
| pkcs11.rst | ||
| plugins.rst | ||
| reference.rst | ||
| requirements.rst | ||
| requirements.txt | ||
| security.rst | ||
| troubleshooting.rst | ||