diff --git a/build_tools/circle/build_doc.sh b/build_tools/circle/build_doc.sh index 57486f1822ca5..f954ce5fd928c 100755 --- a/build_tools/circle/build_doc.sh +++ b/build_tools/circle/build_doc.sh @@ -130,7 +130,7 @@ conda create -n $CONDA_ENV_NAME --yes --quiet python="${PYTHON_VERSION:-*}" \ cython="${CYTHON_VERSION:-*}" pytest coverage \ matplotlib="${MATPLOTLIB_VERSION:-*}" sphinx=2.1.2 pillow \ scikit-image="${SCIKIT_IMAGE_VERSION:-*}" pandas="${PANDAS_VERSION:-*}" \ - joblib + joblib memory_profiler source activate testenv pip install sphinx-gallery==0.3.1 diff --git a/doc/conf.py b/doc/conf.py index c68f22fff6218..0408c46ae4151 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -250,6 +250,7 @@ sphinx_gallery_conf = { 'doc_module': 'sklearn', 'backreferences_dir': os.path.join('modules', 'generated'), + 'show_memory': True, 'reference_url': { 'sklearn': None} }