Merge pull request #2773 from shibukawa/update/jquery

Fix #2634 (Update jquery to latest from 1.x)
This commit is contained in:
Takeshi KOMIYA 2016-07-13 15:15:20 +09:00 committed by GitHub
commit 6ad35e53f6
4 changed files with 4357 additions and 4590 deletions

View File

@ -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 one or more lines are too long

View File

@ -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