[Docs] Enable analytics in selector tool

This commit is contained in:
Alexander Suvorov 2023-06-29 12:27:51 +02:00 committed by GitHub
parent e3a2d3d14a
commit 07f098d1b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 25 deletions

View File

@ -1 +0,0 @@
const e=document.getElementById("selector");if(!e)throw new Error("cannot find selector document");window.addEventListener("message",i=>{e.style.height=i.data.height+"px"});var o,n;const t=(n=(o=e.contentDocument)==null?void 0:o.body)==null?void 0:n.offsetHeight;t&&(e.style.height=`${t}px`);

View File

@ -0,0 +1 @@
const e=document.getElementById("selector");if(!e)throw new Error("cannot find selector document");window.addEventListener("message",t=>{t.origin===window.origin&&(t.data.type!=="size"||!t.data.height||(e.style.height=t.data.height+"px"))});var n,o;const i=(o=(n=e.contentDocument)==null?void 0:n.body)==null?void 0:o.offsetHeight;i&&(e.style.height=`${i}px`);

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="version" content="0290a24" />
<meta name="version" content="8db148d" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Download Intel® Distribution of OpenVINO™ Toolkit</title>
@ -9,14 +9,11 @@
name="description"
content="Download a version of the Intel® Distribution of OpenVINO™ toolkit for Linux, Windows, or macOS."
/>
<script
type="module"
crossorigin
src="./assets/selector-363359f4.js"
></script>
<link rel="stylesheet" href="./assets/selector-5c3f26d1.css" />
<script type="module" crossorigin src="./assets/selector-860516f5.js"></script>
<link rel="stylesheet" href="./assets/selector-5c3f26d1.css">
</head>
<body>
<div id="root"></div>
</body>
</html>

View File

@ -24,9 +24,9 @@ Install OpenVINO
.. raw:: html
<script type="module" crossorigin src="_static/selector-tool/assets/index-89e3365b.js"></script>
<script type="module" crossorigin src="_static/selector-tool/assets/index-f34d1fad.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<iframe id="selector" src="_static/selector-tool/selector-0290a24.html" style="width: 100%; border: none" title="Download Intel® Distribution of OpenVINO™ Toolkit"></iframe>
<iframe id="selector" src="_static/selector-tool/selector-8db148d.html" style="width: 100%; border: none" title="Download Intel® Distribution of OpenVINO™ Toolkit"></iframe>
OpenVINO installation package is distributed in two parts: OpenVINO Runtime and OpenVINO Development Tools.