Skip to content

Commit

Permalink
Fix intersphinx mapping of matplotlib and fix doc search function
Browse files Browse the repository at this point in the history
* Added sphinxcontrib.jquery to sphinx extensions to repair search functionality as suggested in readthedocs/sphinx_rtd_theme#1451
  • Loading branch information
RobbenRoll committed Jan 21, 2024
1 parent aacd25f commit a58f9d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@
'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
intersphinx_mapping = {
'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),
Expand Down

0 comments on commit a58f9d7

Please sign in to comment.