diff --git a/doc/conf.py b/doc/conf.py index 5a68653d38bc..84221b2bce32 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -40,11 +40,12 @@ try: from IPython.sphinxext import ipython_console_highlighting except ImportError: - extensions.append('matplotlib.sphinxext.ipython_console_highlighting') + raise ImportError( + "IPython must be installed to build the matplotlib docs") else: - print("Using IPython's ipython_console_highlighting directive") extensions.append('IPython.sphinxext.ipython_console_highlighting') extensions.append('IPython.sphinxext.ipython_directive') + try: import numpydoc except ImportError: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy