diff --git a/docs/_sources/conf.py b/docs/_sources/conf.py index ae34c9107..e9c4a56b5 100644 --- a/docs/_sources/conf.py +++ b/docs/_sources/conf.py @@ -157,6 +157,7 @@ def yaml_to_rst(path): extensions = [ 'sphinx.ext.autodoc', 'sphinxcontrib.bibtex', + 'sphinxcontrib.jquery', 'sphinx.ext.ifconfig', 'sphinx.ext.intersphinx', 'sphinx.ext.mathjax', @@ -459,6 +460,8 @@ def _unireplace(release_note, unireplace): 'custom.css', ] html_js_files = [ + 'underscore.js', + 'doctools.js', 'hideEmptyHighlights.js', ('versionList.js', {'defer': 'defer'})] diff --git a/requirements.txt b/requirements.txt index 76b15ea63..2943a2251 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,6 +10,7 @@ nbsphinx PyGithub sphinx==7.1.2 sphinxcontrib-bibtex==2.5.0 +sphinxcontrib-jquery>=4.1 sphinxcontrib-programoutput semver torch