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