Skip to content

Commit 89f38ae

Browse files
authored
Merge pull request #11221 from ImportanceOfBeingErnest/search-codex-fix
DOC: Search codex (fix import line)
2 parents 60ff88f + c9d5d3f commit 89f38ae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/conf.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
import matplotlib
1818
import sphinx
1919

20-
# This is only necessary to monkey patch the signature later on.
21-
from sphinx_gallery import gen_rst
22-
2320
# If your extensions are in another directory, add it here. If the directory
2421
# is relative to the documentation root, use os.path.abspath to make it
2522
# absolute, like shown here.
@@ -76,6 +73,8 @@ def _check_deps():
7673

7774
# Import only after checking for dependencies.
7875
from sphinx_gallery.sorting import ExplicitOrder
76+
# This is only necessary to monkey patch the signature later on.
77+
from sphinx_gallery import gen_rst
7978

8079
if shutil.which('dot') is None:
8180
raise OSError(

0 commit comments

Comments
 (0)