From 4a5763bb37f9f0b1870f14bbbddaaa4ab83321e3 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Thu, 7 Mar 2019 11:13:51 -0600 Subject: [PATCH] Hopefully fix doc builds on RTD --- docs/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index be7e3a8d13..22446213af 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -53,9 +53,10 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode', - 'sphinx.ext.imgconverter', 'sphinx_numfig', 'notebook_sphinxext'] +if not on_rtd: + extensions.append('sphinx.ext.imgconverter') # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']