mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #2773 from shibukawa/update/jquery
Fix #2634 (Update jquery to latest from 1.x)
This commit is contained in:
commit
6ad35e53f6
5
CHANGES
5
CHANGES
@ -25,8 +25,9 @@ Incompatible changes
|
||||
Use ``sphinx.util.fileutil.copy_asset()`` instead.
|
||||
* ``sphinx.util.osutil.filecopy()`` skips copying if the file has not been changed
|
||||
(ref: #2510, #2753)
|
||||
|
||||
|
||||
* Internet Explorer 6-8, Opera 12.1x or Safari 5.1+ support is dropped
|
||||
because jQuery version is updated from 1.11.0 to 3.1.0 (ref: #2634, #2773)
|
||||
|
||||
Features added
|
||||
--------------
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
8
sphinx/themes/basic/static/jquery.js
vendored
8
sphinx/themes/basic/static/jquery.js
vendored
File diff suppressed because one or more lines are too long
@ -66,7 +66,7 @@ def test_js_source(app, status, warning):
|
||||
|
||||
app.builder.build(['contents'])
|
||||
|
||||
v = '1.11.1'
|
||||
v = '3.1.0'
|
||||
msg = 'jquery.js version does not match to {v}'.format(v=v)
|
||||
jquery_min = (app.outdir / '_static' / 'jquery.js').text()
|
||||
assert 'jQuery v{v}'.format(v=v) in jquery_min, msg
|
||||
|
Loading…
Reference in New Issue
Block a user