Sphinx - 1.7.2
After adding the extension to Sphinx:
Extension error:
Could not import extension RunNotebook (exception: cannot import name 'Directive')
It seems the problem is coming from here:
|
from sphinx.util.compat import Directive |
From the Sphinx changelog, it seems that sphinx.util.compat.Directive was deprecated as of the 1.7 release:
1.6b1
sphinx.util.compat.Directive class is now deprecated. Please use instead docutils.parsers.rst.Directive
I did try reverting to 1.6.1, but an encoding error was thrown:

Don't have as much time as I'd like to investigate and create a pull at the moment, but will try to take a look at some point. Thanks for writing this library!
Sphinx - 1.7.2
After adding the extension to Sphinx:
It seems the problem is coming from here:
RunNotebook/RunNotebook/notebook_sphinxext.py
Line 7 in 40b9e49
From the Sphinx changelog, it seems that
sphinx.util.compat.Directivewas deprecated as of the 1.7 release:I did try reverting to 1.6.1, but an encoding error was thrown:
Don't have as much time as I'd like to investigate and create a pull at the moment, but will try to take a look at some point. Thanks for writing this library!