We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1446c69 commit 1858e65Copy full SHA for 1858e65
doc/conf.py
@@ -40,11 +40,12 @@
40
try:
41
from IPython.sphinxext import ipython_console_highlighting
42
except ImportError:
43
- extensions.append('matplotlib.sphinxext.ipython_console_highlighting')
+ raise ImportError(
44
+ "IPython must be installed to build the matplotlib docs")
45
else:
- print("Using IPython's ipython_console_highlighting directive")
46
extensions.append('IPython.sphinxext.ipython_console_highlighting')
47
extensions.append('IPython.sphinxext.ipython_directive')
48
+
49
50
import numpydoc
51
0 commit comments