diff --git a/docs/requirements.txt b/docs/requirements.txt index f65f760ce..19712af78 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -12,8 +12,8 @@ sphinxcontrib-bibtex<2.0.0 sphinxcontrib-yt # Package required to convert svg for pdf builder -#sphinxcontrib-svg2pdfconverter -sphinx-ext-imgconverter +sphinxcontrib-svg2pdfconverter +#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 d787f0145..f24d2df88 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -41,11 +41,11 @@ except ImportError: #have_sphinxcontrib_svg2pdfconverter = True have_sphinx_ext_imgconverter = True try: -# import sphinxcontrib.svg2pdfconverter - import sphinx.ext.imgconverter + import sphinxcontrib.svg2pdfconverter +# import sphinx.ext.imgconverter except ImportError: -# have_sphinxcontrib_svg2pdfconverter = False - have_sphinx_ext_imgconverter = False + have_sphinxcontrib_svg2pdfconverter = False +# have_sphinx_ext_imgconverter = False # -- Project information ----------------------------------------------------- @@ -75,8 +75,8 @@ extensions = [ 'sphinxcontrib.bibtex', 'sphinx.ext.autosectionlabel', 'sphinxcontrib.yt', -# 'sphinxcontrib.svg2pdfconverter', - 'sphinx.ext.imgconverter', + 'sphinxcontrib.svg2pdfconverter', +# 'sphinx.ext.imgconverter', ] # Add any paths that contain templates here, relative to this directory.