mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #3976 from SpecLad:rm-insertIframe
This commit is contained in:
commit
0b2cfcfda2
12
doc/_static/insertIframe.js
vendored
12
doc/_static/insertIframe.js
vendored
@ -1,12 +0,0 @@
|
|||||||
function insertIframe (elementId, iframeSrc)
|
|
||||||
{
|
|
||||||
var iframe;
|
|
||||||
if (document.createElement && (iframe = document.createElement('iframe')))
|
|
||||||
{
|
|
||||||
iframe.src = unescape(iframeSrc);
|
|
||||||
iframe.width = "100%";
|
|
||||||
iframe.height = "511px";
|
|
||||||
var element = document.getElementById(elementId);
|
|
||||||
element.parentNode.replaceChild(iframe, element);
|
|
||||||
}
|
|
||||||
}
|
|
1
doc/_themes/blue/layout.html
vendored
1
doc/_themes/blue/layout.html
vendored
@ -11,7 +11,6 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
{%- endblock %}
|
{%- endblock %}
|
||||||
{% set script_files = script_files + [pathto("_static/insertIframe.js", 1)] %}
|
|
||||||
{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %}
|
{%- set reldelim1 = reldelim1 is not defined and ' »' or reldelim1 %}
|
||||||
{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
|
{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
|
||||||
{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and
|
{%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) and
|
||||||
|
@ -132,7 +132,7 @@ html_logo = 'opencv-logo-white.png'
|
|||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
html_static_path = ['_static']
|
#html_static_path = []
|
||||||
|
|
||||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||||
# using the given strftime format.
|
# using the given strftime format.
|
||||||
|
Loading…
Reference in New Issue
Block a user