Permalink
Browse files

Fix sphinx 1.4+ issues, followup to #89

  • Loading branch information...
1 parent 8a67e6c commit 1f5c24445ed8a04cd3d0ec388b064b5d85fc6397 @donnemartin committed Jun 3, 2016
Showing with 4 additions and 4 deletions.
  1. +2 −2 docs/source/conf.py
  2. +2 −2 requirements-dev.txt
View
@@ -291,9 +291,9 @@
import sphinx.environment
from docutils.utils import get_source_line
-def _warn_node(self, msg, node):
+def _warn_node(self, msg, node, **kwargs):
if not msg.startswith('nonlocal image URI found:'):
- self._warnfunc(msg, '%s:%s' % get_source_line(node))
+ self._warnfunc(msg, '%s:%s' % get_source_line(node), **kwargs)
sphinx.environment.BuildEnvironment.warn_node = _warn_node
@@ -4,6 +4,6 @@ mock>=1.0.1
pexpect>=3.3
pytest>=2.7.0
tox>=1.9.2
-sphinx==1.3.1
-Sphinx-PyPI-upload==0.2.1
+sphinx>=1.3.1
+Sphinx-PyPI-upload>=0.2.1
gitchangelog>=2.2.1

0 comments on commit 1f5c244

Please sign in to comment.