Skip to content

Commit

Permalink
docs: sphinx 1.4.2
Browse files Browse the repository at this point in the history
Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
  • Loading branch information
tiborsimko committed Jun 22, 2016
1 parent 1d768cf commit b1c05a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
15 changes: 3 additions & 12 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,14 @@

import sphinx.environment

_warn_node_old = sphinx.environment.BuildEnvironment.warn_node


def _warn_node(self, msg, *args, **kwargs):
"""Do not warn on external images."""
if not msg.startswith('nonlocal image URI found:'):
_warn_node_old(self, msg, *args, **kwargs)


sphinx.environment.BuildEnvironment.warn_node = _warn_node


# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'

# Do not warn on external images.
suppress_warnings = ['image.nonlocal_uri']

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

extras_require = {
'docs': [
'Sphinx>=1.4',
'Sphinx>=1.4.2',
'sphinxcontrib-httpdomain>=1.4.0',
],
'postgresql': [
Expand Down

0 comments on commit b1c05a3

Please sign in to comment.