Skip to content

Commit 94d14b2

Browse files
committed
fix: add sphinxcontrib-jquery to bring back JQuery for newer Sphinx versions
1 parent f73bbc4 commit 94d14b2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def get_igraph_version():
6868
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
6969
sys.path.insert(0, os.path.abspath('sphinxext'))
7070
extensions = [
71+
'sphinxcontrib.jquery',
7172
'sphinx.ext.coverage',
7273
'sphinx.ext.mathjax',
7374
'sphinx.ext.intersphinx',

doc/source/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ pip
22
wheel
33
requests>=2.28.1
44

5-
sphinxbootstrap4theme
65
sphinx-gallery
6+
sphinx-rtd-theme
7+
sphinxcontrib-jquery
78
pydoctor
89

910
numpy

scripts/mkdoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ if [ ! -d ".venv" ]; then
5757
fi
5858

5959
# Make sure that Sphinx, PyDoctor (and maybe doc2dash) are up-to-date in the virtualenv
60-
.venv/bin/pip install -U sphinx pydoctor sphinxbootstrap4theme sphinx-gallery
60+
.venv/bin/pip install -U sphinx pydoctor sphinxbootstrap4theme sphinx-gallery sphinxcontrib-jquery
6161
if [ x$DOC2DASH = x1 ]; then
6262
.venv/bin/pip install -U doc2dash
6363
fi

0 commit comments

Comments
 (0)