diff --git a/docs/requirements.txt b/docs/requirements.txt index 60cbc4f34..f65f760ce 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -13,7 +13,7 @@ sphinxcontrib-yt # Package required to convert svg for pdf builder #sphinxcontrib-svg2pdfconverter -sphinxcontrib-ext-imgconverter +sphinx-ext-imgconverter #Work-around bug "AttributeError: 'Values' object has no attribute 'character_level_inline_markup'" with docutils 0.13.1 #See: diff --git a/docs/source/conf.py b/docs/source/conf.py index d1cf8a57b..d787f0145 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -39,13 +39,13 @@ except ImportError: # Import sphinxcontrib.svg2pdfconverter #have_sphinxcontrib_svg2pdfconverter = True -have_sphinxcontrib_ext_imgconverter = True +have_sphinx_ext_imgconverter = True try: # import sphinxcontrib.svg2pdfconverter - import sphinxcontrib.ext.imgconverter + import sphinx.ext.imgconverter except ImportError: # have_sphinxcontrib_svg2pdfconverter = False - have_sphinxcontrib_ext_imgconverter = False + have_sphinx_ext_imgconverter = False # -- Project information ----------------------------------------------------- @@ -76,7 +76,7 @@ extensions = [ 'sphinx.ext.autosectionlabel', 'sphinxcontrib.yt', # 'sphinxcontrib.svg2pdfconverter', - 'sphinxcontrib.ext.imgconverter', + 'sphinx.ext.imgconverter', ] # Add any paths that contain templates here, relative to this directory.