Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 89f38ae

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

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+2-3Lines changed: 2 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.