File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 52
52
exclude_patterns = ['api/api_changes/*' , 'users/whats_new/*' ]
53
53
54
54
55
- def _check_deps ():
56
- names = {"colorspacious" : 'colorspacious' ,
57
- "IPython.sphinxext.ipython_console_highlighting" : 'ipython' ,
58
- "matplotlib" : 'matplotlib' ,
59
- "numpydoc" : 'numpydoc' ,
60
- "PIL.Image" : 'pillow' ,
61
- "sphinx_gallery" : 'sphinx_gallery' }
55
+ def _check_dependencies ():
56
+ names = {
57
+ "colorspacious" : 'colorspacious' ,
58
+ "IPython.sphinxext.ipython_console_highlighting" : 'ipython' ,
59
+ "matplotlib" : 'matplotlib' ,
60
+ "numpydoc" : 'numpydoc' ,
61
+ "PIL.Image" : 'pillow' ,
62
+ "sphinx_copybutton" : 'sphinx_copybutton' ,
63
+ "sphinx_gallery" : 'sphinx_gallery' ,
64
+ }
62
65
missing = []
63
66
for name in names :
64
67
try :
@@ -70,7 +73,8 @@ def _check_deps():
70
73
"The following dependencies are missing to build the "
71
74
"documentation: {}" .format (", " .join (missing )))
72
75
73
- _check_deps ()
76
+ _check_dependencies ()
77
+
74
78
75
79
# Import only after checking for dependencies.
76
80
# gallery_order.py from the sphinxext folder provides the classes that
You can’t perform that action at this time.
0 commit comments