diff --git a/doc/doc-requirements.txt b/doc/doc-requirements.txt
index 4eb28efc1..be9dff62a 100644
--- a/doc/doc-requirements.txt
+++ b/doc/doc-requirements.txt
@@ -1,6 +1,5 @@
Cython>=0.24
# Frozen Sphinx requirements for easier pip installation
-sphinx==1.7.9
sphinxcontrib-actdiag
sphinxcontrib-blockdiag
sphinxcontrib-nwdiag
diff --git a/doc/sources/.templates/layout.html b/doc/sources/.templates/layout.html
index 4d07d1a2c..a87dc0bac 100644
--- a/doc/sources/.templates/layout.html
+++ b/doc/sources/.templates/layout.html
@@ -106,12 +106,14 @@
};
+{%- block scripts %}
{%- for scriptfile in script_files %}
{%- endfor %}
+{%- endblock %}
{%- if use_opensearch %}