File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151exclude_patterns = ['api/api_changes/*' , 'users/whats_new/*' ]
5252
5353
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+ }
6164 missing = []
6265 for name in names :
6366 try :
@@ -69,7 +72,8 @@ def _check_deps():
6972 "The following dependencies are missing to build the "
7073 "documentation: {}" .format (", " .join (missing )))
7174
72- _check_deps ()
75+ _check_dependencies ()
76+
7377
7478# Import only after checking for dependencies.
7579# gallery_order.py from the sphinxext folder provides the classes that
You can’t perform that action at this time.
0 commit comments