mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #10582 from tk0miya/10574_rtd_search
Fix #10574: Failed to search on sphinx-doc.org
This commit is contained in:
commit
e081194d1d
@ -178,6 +178,10 @@ def setup(app):
|
||||
app.add_object_type('event', 'event', 'pair: %s; event', parse_event,
|
||||
doc_field_types=[fdesc])
|
||||
|
||||
# Load jQuery to make readthedocs-doc-embed.js available (refs: #10574)
|
||||
app.add_js_file('https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js',
|
||||
priority=100)
|
||||
|
||||
# workaround for RTD
|
||||
from sphinx.util import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
Loading…
Reference in New Issue
Block a user