Skip to content

Commit

Permalink
Fix missing jQuery in documentation (#14346)
Browse files Browse the repository at this point in the history
It's been 8 years since I last updated my IPython fork... 馃槃 

![Screenshot 2024-02-19 at 17-29-31 astrojuanlu_ipython Official
repository for IPython itself Other repos in the IPython organization
contain things like the website documentation builds
etc](https://github.com/ipython/ipython/assets/316517/a5143264-6188-4389-bc37-914019b2be2b)

Fix #14213 by adding https://pypi.org/project/sphinxcontrib-jquery/ to
the Sphinx extensions, see
sphinx-doc/sphinx#10070 and
sphinx-doc/sphinx#7405 for extra context.

Also fix #14264.
  • Loading branch information
Carreau committed Feb 20, 2024
2 parents f5b0576 + 5baee4e commit b479c4a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
25 changes: 13 additions & 12 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,19 @@
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.doctest',
'sphinx.ext.inheritance_diagram',
'sphinx.ext.intersphinx',
'sphinx.ext.graphviz',
'IPython.sphinxext.ipython_console_highlighting',
'IPython.sphinxext.ipython_directive',
'sphinx.ext.napoleon', # to preprocess docstrings
'github', # for easy GitHub links
'magics',
'configtraits',
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.doctest",
"sphinx.ext.inheritance_diagram",
"sphinx.ext.intersphinx",
"sphinx.ext.graphviz",
"sphinxcontrib.jquery",
"IPython.sphinxext.ipython_console_highlighting",
"IPython.sphinxext.ipython_directive",
"sphinx.ext.napoleon", # to preprocess docstrings
"github", # for easy GitHub links
"magics",
"configtraits",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ doc = [
"setuptools>=18.5",
"sphinx>=1.3",
"sphinx-rtd-theme",
"sphinxcontrib-jquery",
"docrepr",
"matplotlib",
"stack_data",
Expand Down

0 comments on commit b479c4a

Please sign in to comment.