Skip to content

Commit

Permalink
Allow Sphinx version 6 and add dependency for sphinxcontrib-jquery
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming committed Nov 22, 2022
1 parent 510c620 commit d7ff8f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ zip_safe = False
packages = sphinx_rtd_theme
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
install_requires =
sphinx >=1.6,<6
sphinx >=1.6,<7
docutils <0.18
sphinxcontrib-jquery >=3.0.0
tests_require =
pytest

Expand Down
1 change: 1 addition & 0 deletions src/theme.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// jQuery is included via the sphinxcontrib-jquery extension that we depend on
var jQuery = (typeof(window) != 'undefined') ? window.jQuery : require('jquery');

// Sphinx theme nav state
Expand Down

0 comments on commit d7ff8f4

Please sign in to comment.