otcdocstheme 1.12.6__py3-none-any.whl → 1.12.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- otcdocstheme/theme/otcdocs/header.html +1 -1
- otcdocstheme/theme/otcdocs/static/js/otc_helpers.js +52 -0
- otcdocstheme/theme/otcdocs/static/js/search.js +2 -0
- {otcdocstheme-1.12.6.dist-info → otcdocstheme-1.12.8.dist-info}/METADATA +1 -1
- {otcdocstheme-1.12.6.dist-info → otcdocstheme-1.12.8.dist-info}/RECORD +13 -13
- otcdocstheme-1.12.8.dist-info/pbr.json +1 -0
- otcdocstheme-1.12.6.dist-info/pbr.json +0 -1
- {otcdocstheme-1.12.6.data → otcdocstheme-1.12.8.data}/scripts/docstheme-build-pdf +0 -0
- {otcdocstheme-1.12.6.dist-info → otcdocstheme-1.12.8.dist-info}/WHEEL +0 -0
- {otcdocstheme-1.12.6.dist-info → otcdocstheme-1.12.8.dist-info}/dependency_links.txt +0 -0
- {otcdocstheme-1.12.6.dist-info → otcdocstheme-1.12.8.dist-info}/entry_points.txt +0 -0
- {otcdocstheme-1.12.6.dist-info → otcdocstheme-1.12.8.dist-info}/licenses/AUTHORS +0 -0
- {otcdocstheme-1.12.6.dist-info → otcdocstheme-1.12.8.dist-info}/licenses/LICENSE +0 -0
- {otcdocstheme-1.12.6.dist-info → otcdocstheme-1.12.8.dist-info}/top_level.txt +0 -0
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
</scale-telekom-nav-list>
|
|
78
78
|
<scale-telekom-nav-list variant="functions" slot="functions" alignment="right">
|
|
79
79
|
<scale-telekom-nav-item>
|
|
80
|
-
<a id="SearchIconScaleNavBar" onclick="createSearchPage()">
|
|
80
|
+
<a id="SearchIconScaleNavBar" onclick="createSearchPage()" data-umami-event="Search opened">
|
|
81
81
|
<scale-icon-action-search accessibility-title="Search" />
|
|
82
82
|
</a>
|
|
83
83
|
</scale-telekom-nav-item>
|
|
@@ -60,3 +60,55 @@ function addCopyButtonToCode() {
|
|
|
60
60
|
$(function () {
|
|
61
61
|
addCopyButtonToCode();
|
|
62
62
|
});
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
document.addEventListener("DOMContentLoaded", function () {
|
|
66
|
+
|
|
67
|
+
// Tracking code for PDF downloads
|
|
68
|
+
const buttons = document.querySelectorAll('[data-umami-event="PDF Download"]');
|
|
69
|
+
|
|
70
|
+
buttons.forEach(button => {
|
|
71
|
+
button.addEventListener("click", () => {
|
|
72
|
+
const pdfName = button.getAttribute("data-umami-event-pdfname");
|
|
73
|
+
|
|
74
|
+
// Check whether umami has been loaded, else just don't do anything
|
|
75
|
+
if (typeof umami === "object" && typeof umami.track === "function") {
|
|
76
|
+
umami.track("PDF Download", {
|
|
77
|
+
pdfname: pdfName
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
// Tracking code for Search function
|
|
84
|
+
const searchbuttons = document.querySelectorAll('[data-umami-event="Search opened"]');
|
|
85
|
+
|
|
86
|
+
searchbuttons.forEach(button => {
|
|
87
|
+
button.addEventListener("click", () => {
|
|
88
|
+
const searchsite = window.location.pathname;
|
|
89
|
+
|
|
90
|
+
// Check whether umami has been loaded, else just don't do anything
|
|
91
|
+
if (typeof umami === "object" && typeof umami.track === "function") {
|
|
92
|
+
umami.track("Search opened", {
|
|
93
|
+
searchsite: searchsite
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
// Tracking code for Search function when clicking on a result
|
|
100
|
+
const searchresultbuttons = document.querySelectorAll('[data-umami-event="Searchresult clicked"]');
|
|
101
|
+
|
|
102
|
+
searchresultbuttons.forEach(button => {
|
|
103
|
+
button.addEventListener("click", () => {
|
|
104
|
+
const searchresultpage = button.getAttribute("data-umami-event-resultpage");
|
|
105
|
+
|
|
106
|
+
// Check whether umami has been loaded, else just don't do anything
|
|
107
|
+
if (typeof umami === "object" && typeof umami.track === "function") {
|
|
108
|
+
umami.track("Searchresult clicked", {
|
|
109
|
+
searchresultpage: searchresultpage
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
});
|
|
@@ -342,6 +342,8 @@ const createMainResultList = (response, div) => {
|
|
|
342
342
|
a.setAttribute('href', hit._source.base_url + hit._source.doc_url + hit._source.current_page_name + '.html');
|
|
343
343
|
a.classList.add("dropdown-item");
|
|
344
344
|
a.classList.add("search-a")
|
|
345
|
+
a.setAttribute('data-umami-event', 'Searchresult clicked')
|
|
346
|
+
a.setAttribute('data-umami-event-resultpage', hit._source.doc_url + hit._source.current_page_name + '.html')
|
|
345
347
|
li.classList.add("nobullets")
|
|
346
348
|
li.classList.add("border-bottom")
|
|
347
349
|
li.classList.add("search-result-padding")
|
|
@@ -6,7 +6,7 @@ otcdocstheme/version.py,sha256=HMEsOyXdr8mSrjHSewgFoXs4fQinhlWDQjC_JPRCMgs,648
|
|
|
6
6
|
otcdocstheme/theme/otcdocs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
otcdocstheme/theme/otcdocs/css.html,sha256=uhlcVJXDP6bo42VtnUpJfTW6jHwwPGZOk1kIFXhA_nI,633
|
|
8
8
|
otcdocstheme/theme/otcdocs/footer.html,sha256=vRgw_qdncMKmPqdNceWLbpaAFOMHSU2J4ZSh6wgxJHo,665
|
|
9
|
-
otcdocstheme/theme/otcdocs/header.html,sha256=
|
|
9
|
+
otcdocstheme/theme/otcdocs/header.html,sha256=ikxURYkOMZcViOhMA-J2B8TQ6sdiqCRxuNRxt5mrT3E,8702
|
|
10
10
|
otcdocstheme/theme/otcdocs/layout.html,sha256=wS1Nd1iwXXOvJrcjVlBfbdTC_wkjkjXzZH8gBlqCwKg,3749
|
|
11
11
|
otcdocstheme/theme/otcdocs/license_cc.html,sha256=qp_whwkm9j0gbEv5wjcOyGFm-Xq4UfGObwY5Vj9dpl8,345
|
|
12
12
|
otcdocstheme/theme/otcdocs/localtoc.html,sha256=CxkyXtelm2stuFlYAxPZBXZsK1nb8IQ83z7PVmCo3ek,1454
|
|
@@ -53,8 +53,8 @@ otcdocstheme/theme/otcdocs/static/js/bootstrap.bundle.min.js.map,sha256=4AIg-DUv
|
|
|
53
53
|
otcdocstheme/theme/otcdocs/static/js/clipboard.min.js,sha256=4XodgW4TwIJuDtf-v6vDJ39FVxI0veC_kSCCmnFp7ck,9160
|
|
54
54
|
otcdocstheme/theme/otcdocs/static/js/docs.js,sha256=S__-6qjdWrJ-yyZUCrAyhJgWfMAeVgikBkOoz32t_yU,5395
|
|
55
55
|
otcdocstheme/theme/otcdocs/static/js/jquery-3.6.4.min.js,sha256=oP6HI9z1XaZNBrJURtCoUT5SUnxFr8s3BzRl-cbzUq8,89795
|
|
56
|
-
otcdocstheme/theme/otcdocs/static/js/otc_helpers.js,sha256=
|
|
57
|
-
otcdocstheme/theme/otcdocs/static/js/search.js,sha256=
|
|
56
|
+
otcdocstheme/theme/otcdocs/static/js/otc_helpers.js,sha256=HFZkIINChQLGWSRJ1xHmtIKNZ_TXaB9kbpTCWEb87ic,3558
|
|
57
|
+
otcdocstheme/theme/otcdocs/static/js/search.js,sha256=pZdELiJouif_aYdUNOS9SXVIjFy6ffJy-npbeRzG0OY,34625
|
|
58
58
|
otcdocstheme/theme/otcdocs/static/js/underscore.js,sha256=IY-xwfxy6a9rhm9DC-Kmf6N2OStNsvTb8ydyZxtq5Vw,19530
|
|
59
59
|
otcdocstheme/theme/otcdocs/static/scale-components/.npmignore,sha256=eYpkQTHyUR7QgvRu5BF92sY426wJK8CEYZZ3tb6eHts,108
|
|
60
60
|
otcdocstheme/theme/otcdocs/static/scale-components/index.esm.js,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -540,13 +540,13 @@ otcdocstheme/theme/otcdocs_pdf/fonts/TeleNeo Office Extrabold.ttf,sha256=t24f9p0
|
|
|
540
540
|
otcdocstheme/theme/otcdocs_pdf/fonts/TeleNeo Office Medium.ttf,sha256=UQw3EkbxcQPYDes-3py6aPG10Zxfx8_MWk8dLKGKWh0,125764
|
|
541
541
|
otcdocstheme/theme/otcdocs_pdf/fonts/TeleNeo Office Thin.ttf,sha256=ndNn0Cz6LfzruVFCBpLmOcGfPsDNqY6WB1Inx5hPIiU,116736
|
|
542
542
|
otcdocstheme/theme/otcdocs_pdf/fonts/TeleNeo Office.ttf,sha256=u-qdXUjzruAaYFWQ85iXCx0uKbDWT-f4oVg_tITysW0,125352
|
|
543
|
-
otcdocstheme-1.12.
|
|
544
|
-
otcdocstheme-1.12.
|
|
545
|
-
otcdocstheme-1.12.
|
|
546
|
-
otcdocstheme-1.12.
|
|
547
|
-
otcdocstheme-1.12.
|
|
548
|
-
otcdocstheme-1.12.
|
|
549
|
-
otcdocstheme-1.12.
|
|
550
|
-
otcdocstheme-1.12.
|
|
551
|
-
otcdocstheme-1.12.
|
|
552
|
-
otcdocstheme-1.12.
|
|
543
|
+
otcdocstheme-1.12.8.data/scripts/docstheme-build-pdf,sha256=IlY2QHQDoX5dvMBOpv0AaAq1laUGzZw8eNHQKh9trmU,1159
|
|
544
|
+
otcdocstheme-1.12.8.dist-info/licenses/AUTHORS,sha256=PaFByu8QGpAZPsEO0tuTMzHr4axY5oTzCOiHnbN8Cq8,458
|
|
545
|
+
otcdocstheme-1.12.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
546
|
+
otcdocstheme-1.12.8.dist-info/METADATA,sha256=5TVXeaLIfG4Cm88JVIZqvw3Z0ruMIU1CrOOBvEOoqBc,1800
|
|
547
|
+
otcdocstheme-1.12.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
548
|
+
otcdocstheme-1.12.8.dist-info/dependency_links.txt,sha256=E0DVutM8F_P-03TbPDd10lqRp9__oJ8fbeR3Lkkolso,93
|
|
549
|
+
otcdocstheme-1.12.8.dist-info/entry_points.txt,sha256=grDxfsYOoAtaU51QnEuZG96s3j7NdxnKI-TExSLOOdc,112
|
|
550
|
+
otcdocstheme-1.12.8.dist-info/pbr.json,sha256=CLA4TkqpGxuTpA2UwjzMIrRzDfQiTEtODqqi68LNu_U,47
|
|
551
|
+
otcdocstheme-1.12.8.dist-info/top_level.txt,sha256=7cQxbm6DSay9Ps85cuRvLzmMMPUzHszwHKjeu5evJYo,13
|
|
552
|
+
otcdocstheme-1.12.8.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "76758cc", "is_release": false}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "3e106b2", "is_release": false}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|