Skip to content
Permalink
Browse files
Graceful sphinxcontrib.gist failures
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Aug 4, 2016
1 parent bf1e9fd commit fe4799b3e07d8233382dc84c5c789b24880e676f
Showing 1 changed file with 4 additions and 4 deletions.
@@ -27,12 +27,12 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax']
try:
import sphinxcontrib.gist # NOQA
extensions = ['sphinxcontrib.gist', 'sphinx.ext.autodoc', 'sphinx.ext.mathjax']
except ImportError as err:
import pdb; pdb.set_trace()
extensions = []
extensions.append('sphinxcontrib.gist')
except ImportError:
pass

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

0 comments on commit fe4799b

Please sign in to comment.