Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Make usage of sphinxcontrib-jquery #241

Merged
merged 1 commit into from
Oct 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ sphinxcontrib-devhelp==1.0.2
# via sphinx
sphinxcontrib-htmlhelp==2.0.0
# via sphinx
sphinxcontrib-jquery==2.0.0
# via sphinx-hoverxref (pyproject.toml)
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.3
Expand All @@ -119,3 +121,6 @@ urllib3==1.26.12
# via requests
wrapt==1.14.1
# via astroid

# The following packages are considered to be unsafe in a requirements file:
# setuptools
3 changes: 3 additions & 0 deletions hoverxref/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ def setup(app):
if f.endswith('.css') or f.endswith('.css_t'):
app.add_css_file(f.replace('.css_t', '.css'))

# Sphinx>=6 won't include jQuery anymore
app.setup_extension('sphinxcontrib.jquery')

return {
'version': __version__,
'parallel_read_safe': True,
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ keywords=[
]
dependencies = [
"sphinx >=1.8",
"sphinxcontrib-jquery",
]
version = "1.2.0"
readme = "README.rst"
Expand Down