]> git.ipfire.org Git - thirdparty/bind9.git/commit
Support Sphinx 1.6.7
authorPetr Špaček <pspacek@isc.org>
Wed, 20 Jul 2022 16:44:48 +0000 (18:44 +0200)
committerPetr Špaček <pspacek@isc.org>
Thu, 21 Jul 2022 13:21:21 +0000 (15:21 +0200)
commitf534ef291b1a203146d63c06addd41860a4bec3e
tree8d1279523ef0c1f8adb419c26b37b045a968ea97
parentba10de32d3a2a1311fcaa2492bdfcac626513511
Support Sphinx 1.6.7

Luckily we don't rely on SphinxDirective functionality which does not
exist in 1.6.7. Replace it with docutils Directive.

transform_content() callback was added only in Sphinx 3.0.0.
Detect if it was not called and call it manually.
The transform_content() function requires access to inner "contentnode"
which is created inside run(). This workaround relies on the order of
node as it was in the pre-3.0.0 versions, but it should not matter as
new versions will not trigger the workaround.
doc/arm/_ext/iscconf.py