sphinx-contrib / jquery

Extension to include jQuery on newer Sphinx releases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sphinxcontrib-jquery

Package on PyPI

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",
]
...

Configuration

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.

About

Extension to include jQuery on newer Sphinx releases

License:BSD Zero Clause License


Languages

Language:Python 100.0%