From c9d5d3fb1045a8071edd68319fd235614d4c0b0e Mon Sep 17 00:00:00 2001 From: ImportanceOfBeingErnest Date: Thu, 10 May 2018 14:47:29 +0200 Subject: [PATCH] Search codex (fix import line) --- doc/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index b0d40f0099c5..cd4045badd29 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -17,9 +17,6 @@ import matplotlib import sphinx -# This is only necessary to monkey patch the signature later on. -from sphinx_gallery import gen_rst - # If your extensions are in another directory, add it here. If the directory # is relative to the documentation root, use os.path.abspath to make it # absolute, like shown here. @@ -76,6 +73,8 @@ def _check_deps(): # Import only after checking for dependencies. from sphinx_gallery.sorting import ExplicitOrder +# This is only necessary to monkey patch the signature later on. +from sphinx_gallery import gen_rst if shutil.which('dot') is None: raise OSError(