diff --git a/conf.py b/conf.py index cfd03308..cff508b8 100644 --- a/conf.py +++ b/conf.py @@ -94,6 +94,10 @@ 'content/*/include/*' ] +linkcheck_ignore = [ + 'http://www.ngdc.noaa.gov/*', +] + # The reST default role (used for this markup: `text`) to use for all # documents. #default_role = None @@ -302,17 +306,6 @@ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False -def supress_nonlocal_image_warn(): - import sphinx.environment - sphinx.environment.BuildEnvironment.warn_node = _supress_nonlocal_image_warn - -def _supress_nonlocal_image_warn(self, msg, node): - from docutils.utils import get_source_line - - if not msg.startswith('nonlocal image URI found:'): - self._warnfunc(msg, '{0!s}:{1!s}'.format(*get_source_line(node))) - -supress_nonlocal_image_warn() # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = {'http://docs.python.org/': None}