From 06cc88b1de181795f448e6d6feec94bcfb156224 Mon Sep 17 00:00:00 2001 From: WANG Aiyong Date: Thu, 31 Dec 2020 10:31:15 +0800 Subject: [PATCH] Update conf.py to execute imports during pdf building According [https://ipython.readthedocs.io/en/stable/sphinxext.html](), it should be `ipython_execlines` not `ipython_exec_lines`. Should close issue #38451 --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 951a6d4043786..8ab1c8c2f3428 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -427,7 +427,7 @@ ipython_warning_is_error = False -ipython_exec_lines = [ +ipython_execlines = [ "import numpy as np", "import pandas as pd", # This ensures correct rendering on system with console encoding != utf8