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