diff --git a/docs/conf.py b/docs/conf.py index 812efcd9..d2cf35f2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,6 +23,7 @@ 'sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinxcontrib.httpdomain', + 'sphinxcontrib.jquery', ] # Do not warn about external images (status badges in README.rst) diff --git a/js/theme.js b/js/theme.js index 1c44e34c..af0d998d 100644 --- a/js/theme.js +++ b/js/theme.js @@ -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 diff --git a/setup.py b/setup.py index 3f5ca82d..8a3c5033 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,7 @@ "Topic :: Software Development :: Documentation" ], install_requires=[ - 'sphinx' + 'sphinx', + 'sphinxcontrib-jquery', ] )