Use jQuery 2.2.4 (#2581)
This commit is contained in:
parent
eda9e180f0
commit
70b65a282c
@ -14,6 +14,7 @@
|
|||||||
import sys
|
import sys
|
||||||
import os, subprocess
|
import os, subprocess
|
||||||
import shlex
|
import shlex
|
||||||
|
import urllib
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
# add these directories to sys.path here. If the directory is relative to the
|
# add these directories to sys.path here. If the directory is relative to the
|
||||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||||
@ -163,7 +164,10 @@ def setup(app):
|
|||||||
# Add hook for building doxygen xml when needed
|
# Add hook for building doxygen xml when needed
|
||||||
# no c++ API for now
|
# no c++ API for now
|
||||||
# app.connect("builder-inited", generate_doxygen_xml)
|
# app.connect("builder-inited", generate_doxygen_xml)
|
||||||
|
urllib.urlretrieve('https://code.jquery.com/jquery-2.2.4.min.js',
|
||||||
|
'_static/jquery.js')
|
||||||
app.add_config_value('recommonmark_config', {
|
app.add_config_value('recommonmark_config', {
|
||||||
'url_resolver': lambda url: github_doc_root + url,
|
'url_resolver': lambda url: github_doc_root + url,
|
||||||
}, True)
|
}, True)
|
||||||
app.add_transform(AutoStructify)
|
app.add_transform(AutoStructify)
|
||||||
|
app.add_javascript('jquery.js')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user