diff --git a/docs/conf.py b/docs/conf.py index 88baa7f7b2e..8657b74e7fc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -95,7 +95,13 @@ def process_docstring(app, what, name, obj, options, lines): # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "m2r", "notfound.extension"] +extensions = [ + "sphinx.ext.autodoc", + "sphinx.ext.viewcode", + "m2r", + "notfound.extension", + "sphinxcontrib.jquery", +] linkcheck_ignore = [ "https://groups.google.com/a/learningequality.org/forum/#!forum/dev" diff --git a/requirements/docs.txt b/requirements/docs.txt index afd8175e810..362299922c9 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,9 +1,12 @@ -r base.txt # These are for building the docs -sphinx + +# Sphinx stack requires a version of requests that's incompatible with Morango, so downgrading +sphinx>=6,<7 sphinx-intl -sphinx-rtd-theme +# We want to ensure the latest version of sphinx-rtd-theme that has sphinxcontrib-jquery as a dependency +sphinx-rtd-theme~=2.0 sphinx-autobuild m2r sphinx-notfound-page