From 1858e653b1aef1ae2600e400ed1176262cd44c38 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Tue, 29 Dec 2015 15:39:47 -0500 Subject: [PATCH] Don't fallback to old ipython_console_highlighting --- doc/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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