init research

This commit is contained in:
2026-02-08 11:20:43 -10:00
commit bdf064f54d
3041 changed files with 1592200 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
<!DOCTYPE root
SYSTEM "https://resources.jetbrains.com/writerside/1.0/build-script.dtd">
<root>
<builds>
<instance id="d" master="project.ihp" family="idea">
<artifact type="web2" name="webHelpD2.zip" universal-zip="true" platform="primary" local-update="true"/>
</instance>
</builds>
</root>
+33
View File
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<buildprofiles xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/build-profiles.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<variables>
<header-logo>kotlin-logo.svg</header-logo>
<web-root>https://kotlin.github.io/dataframe/</web-root>
<download-page/>
<feedback-widget>false</feedback-widget>
<webmaster>webmaster@jetbrains.com</webmaster>
<algolia-id>JWPLKSKZVF</algolia-id>
<algolia-index>prod_DATAFRAME_HELP</algolia-index>
<algolia-api-key>bce9ba6ce7419efe813d671244d3bf6a</algolia-api-key>
<search-scopes-provider>https://www.jetbrains.com/search/json/</search-scopes-provider>
<generate-sitemap-url-prefix>https://kotlin.github.io/dataframe/</generate-sitemap-url-prefix>
<analytics-head-script-file>google-search.html</analytics-head-script-file>
<enable-browser-edits>true</enable-browser-edits>
<browser-edits-url>https://github.com/Kotlin/dataframe/edit/master/docs/StardustDocs/</browser-edits-url>
<include-in-head>include-head.html</include-in-head>
</variables>
<sitemap change-frequency="monthly"/>
<build-profile instance="d">
<variables>
<noindex-content>false</noindex-content>
</variables>
</build-profile>
<footer>
<social type="twitter" href="https://twitter.com/KotlinForData"/>
<social type="youtube" href="https://www.youtube.com/@Kotlin"/>
<link href="https://github.com/Kotlin/dataframe">GitHub</link>
<link href="https://kotlinlang.slack.com/archives/C4W52CFEZ">Slack Community</link>
</footer>
</buildprofiles>
+13
View File
@@ -0,0 +1,13 @@
<meta name="google-site-verification" content="Lffz_ab-_S5cmA07ZXVbucHVklaRsnk8gEt8frHKjMk"/>
<!-- Google Analytics -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' });
var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&amp;l=' + l : '';
j.async = true;
j.src = '//www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-5P98');
</script>
<!-- End Google Analytics -->
+2
View File
@@ -0,0 +1,2 @@
<script src="static/iframe-config.js"></script>
<script src="static/iframe-config-old.js"></script>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<platforms>
<platform id="primary">
<src>keymap.xml</src>
<use-keymaps>
primary_macOS
</use-keymaps>
<use-keymaps>
primary_Win-Linux
</use-keymaps>
</platform>
</platforms>
+67
View File
@@ -0,0 +1,67 @@
window.addEventListener('load', () => {
function updateIframeThemes(theme) {
const iframes = document.querySelectorAll('iframe');
iframes.forEach((iframe) => {
if (iframe.contentWindow && iframe.contentWindow.document) {
iframe.contentWindow.document.documentElement.setAttribute('theme', theme);
}
});
}
function observeHtmlClassChanges() {
const htmlElement = document.documentElement;
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
if (mutation.type === 'attributes' && mutation.attributeName === 'class') {
const theme = htmlElement.classList.contains('theme-light') ? 'light' : 'dark';
updateIframeThemes(theme);
}
});
});
observer.observe(htmlElement, { attributes: true });
}
window.addEventListener('message', (event) => {
if (event.data.type === 'iframeHeight') {
document.querySelectorAll('iframe').forEach((iframe) => {
if (iframe.contentWindow === event.source) {
iframe.style.height = event.data.height + 'px';
}
});
}
});
function observeIframe(iframe) {
const theme = document.documentElement.classList.contains('theme-light') ? 'light' : 'dark';
function sendTheme() {
iframe.contentDocument.documentElement.setAttribute('theme', theme);
}
iframe.addEventListener('load', sendTheme);
if (iframe.contentDocument.readyState === 'complete') sendTheme();
}
document.querySelectorAll('iframe').forEach(observeIframe);
const bodyObserver = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
mutation.addedNodes.forEach((node) => {
if (node.tagName === 'IFRAME') observeIframe(node);
else if (node.querySelectorAll) {
node.querySelectorAll('iframe').forEach(observeIframe);
}
});
});
});
bodyObserver.observe(document.body, { childList: true, subtree: true });
observeHtmlClassChanges();
const initialTheme = document.documentElement.classList.contains('theme-light') ? 'light' : 'dark';
updateIframeThemes(initialTheme);
});