Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2ebcc5

Browse files
tacaswellMeeseeksDev[bot]
authored andcommitted
Backport PR #11221: DOC: Search codex (fix import line)
1 parent 5a900e4 commit b2ebcc5

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

doc/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
import six
1919
from glob import glob
2020

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

8077
# Import only after checking for dependencies.
8178
from sphinx_gallery.sorting import ExplicitOrder
79+
# This is only necessary to monkey patch the signature later on.
80+
from sphinx_gallery import gen_rst
8281

8382
if six.PY2:
8483
from distutils.spawn import find_executable

0 commit comments

Comments
 (0)