Skip to content

Commit

Permalink
Add sphinxcontrib-jquery as a docs dependency
Browse files Browse the repository at this point in the history
Sphinx 6 stopped bundling jquery. We use it for the version selector in the
sidebar.

Fixes #24987.
  • Loading branch information
asmeurer committed Mar 30, 2023
1 parent cdea788 commit bcaa38e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ sphinxcontrib-applehelp
sphinxcontrib-devhelp
sphinxcontrib-htmlhelp
sphinxcontrib-jsmath
sphinxcontrib-jquery
sphinxcontrib-qthelp
sphinxcontrib-serializinghtml
sphinx-reredirects
6 changes: 3 additions & 3 deletions doc/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.linkcode',
'sphinx_math_dollar', 'sphinx.ext.mathjax', 'numpydoc',
'sphinx_reredirects', 'sphinx_copybutton',
'sphinx.ext.graphviz', 'matplotlib.sphinxext.plot_directive',
'myst_parser', 'convert-svg-to-pdf', 'sphinx.ext.intersphinx',
]
'sphinx.ext.graphviz', 'sphinxcontrib.jquery',
'matplotlib.sphinxext.plot_directive', 'myst_parser',
'convert-svg-to-pdf', 'sphinx.ext.intersphinx', ]

# Add redirects here. This should be done whenever a page that is in the
# existing release docs is moved somewhere else so that the URLs don't break.
Expand Down

0 comments on commit bcaa38e

Please sign in to comment.