8000
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 fd2a447 commit 7195c2aCopy full SHA for 7195c2a
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