Skip to content

Commit

Permalink
Update docs dependencies and fix warning monkeypatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexamici committed Aug 23, 2016
1 parent d7b6969 commit f1f5ca2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,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

Expand All @@ -46,7 +46,7 @@ def _warn_node(self, msg, node):
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.coverage',
'sphinx.ext.pngmath',
'sphinx.ext.imgmath',
'sphinx.ext.viewcode',
]

Expand Down
8 changes: 4 additions & 4 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
alabaster==0.7.7
Babel==2.2.0
alabaster==0.7.9
Babel==2.3.4
docutils==0.12
Jinja2==2.8
MarkupSafe==0.23
Pygments==2.1.3
pytz==2015.7
pytz==2016.6.1
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.3.6
Sphinx==1.4.6
sphinx-rtd-theme==0.1.9

0 comments on commit f1f5ca2

Please sign in to comment.