From a58f9d724126d35ff10fd631c48b2eecbe108d47 Mon Sep 17 00:00:00 2001 From: Stefan Paul Date: Sat, 20 Jan 2024 20:00:23 -0800 Subject: [PATCH] Fix intersphinx mapping of matplotlib and fix doc search function * Added sphinxcontrib.jquery to sphinx extensions to repair search functionality as suggested in https://github.com/readthedocs/sphinx_rtd_theme/issues/1451 --- docs/source/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 3872a8d..84b810a 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -48,6 +48,7 @@ 'jupyter_sphinx', # executes code within the docs with a jupyter kernel 'nbsphinx', 'nbsphinx_link', # for linking to notebooks outside source directory + 'sphinxcontrib.jquery', ] # Add mappings to other package docs @@ -55,7 +56,7 @@ 'py': ('https://docs.python.org/3/', None), 'numpy': ('https://docs.scipy.org/doc/numpy/', None), 'pandas': ('https://pandas.pydata.org/pandas-docs/stable', None), - 'matplotlib': ('http://matplotlib.sourceforge.net', None), + 'matplotlib': ('http://matplotlib.org/stable', None), 'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None), 'lmfit': ('https://lmfit.github.io/lmfit-py', None), 'emcee': ('https://emcee.readthedocs.io/en/stable',None),