sphinxcontrib-jquery
ensures that jQuery is always installed for use in
Sphinx themes or extensions.
To use it, add sphinxcontrib.jquery
as a Sphinx extension:
# conf.py
extensions = [
"sphinxcontrib.jquery",
]
...
jquery_use_sri
A boolean value controlling whether to enable subresource integrity (SRI) checks for JavaScript files that this extension loads.
The default is
False
.Warning: Enabling SRI checks may break documentation when loaded from local filesystem (
file:///
URIs).New in version 4.0.