Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ba6d268

Browse files
committed
DOC added sphinx-gallery as a requirement
1 parent b110b1f commit ba6d268

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

doc-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ ipython
1212
mock
1313
colorspacious
1414
pillow
15+
sphinx-gallery

doc/README.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ All of these dependencies *except graphviz* can be installed through pip::
2121

2222
or all of them via conda and pip::
2323

24-
conda install sphinx numpydoc ipython mock graphviz pillow
24+
conda install sphinx numpydoc ipython mock graphviz pillow \
25+
sphinx-gallery
2526
pip install colorspacious
2627

2728
To build the HTML documentation, type ``python make.py html`` in this

doc/conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
raise ImportError("No module named numpydoc - you need to install "
5656
"numpydoc to build the documentation.")
5757

58+
try:
59+
import sphinx_gallery
60+
except ImportError:
61+
raise ImportError("No module named sphinx-gallery - you need to install "
62+
"numpydoc to build the documentation.")
63+
5864
try:
5965
import colorspacious
6066
except ImportError:

0 commit comments

Comments
 (0)