Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ace9c7c
fix: solve overlap issue in community support card
Monil-KTX Sep 9, 2025
2952e8c
fix: resolve card view issue of popular integration section
Monil-KTX Sep 9, 2025
3262e0f
fix: change css for hero section banner
Monil-KTX Sep 9, 2025
18a0bdb
fix: hero banner button css
Monil-KTX Sep 9, 2025
4f2c4d4
fix: resolve button size issue
Monil-KTX Sep 9, 2025
c75ca5c
fix: remove unused padding
Monil-KTX Sep 9, 2025
510b32c
fix: change css for search bar
Monil-KTX Sep 9, 2025
356343d
fix: add proper padding
Monil-KTX Sep 9, 2025
2a5bc48
fix: solve sidebar highlight issue
Monil-KTX Sep 10, 2025
53e648d
fix: resolve overlap issue in bottom of toc
Monil-KTX Sep 10, 2025
e83876b
fix: change css for sidebar and toc
Monil-KTX Sep 10, 2025
099dd7a
fix: resolve auto scroll issue
Monil-KTX Sep 10, 2025
637b441
fix: add top padding
Monil-KTX Sep 11, 2025
cd82f2b
fix: resolve highlight issue
Monil-KTX Sep 11, 2025
bfbdbb2
fix: resolve toc issue
Monil-KTX Sep 11, 2025
b392c0b
fix: remove unused z-index
Monil-KTX Sep 11, 2025
ad56bb9
fix: solve sidebar and toc sidebar issue
Monil-KTX Sep 11, 2025
919556c
fix: remove unused css
Monil-KTX Sep 11, 2025
ca6acf5
fix: logo position issue
Monil-KTX Sep 11, 2025
f92c08d
fix: resolve path issue of mobile screen logo
Monil-KTX Sep 11, 2025
9d5229e
fix: resolve sidebar scroll issue
Monil-KTX Sep 11, 2025
6b13d09
fix: remove background from title of secondary sidebar
Monil-KTX Sep 12, 2025
2a8fbad
fix: make css related changes
Monil-KTX Sep 16, 2025
6c4c267
fix: change theme moon icon color
Monil-KTX Sep 16, 2025
9e94c59
fix: add required css
Monil-KTX Sep 16, 2025
f9e7e82
fix: make md-content left side with actual font size
Monil-KTX Sep 17, 2025
719af85
fix: full-width md-content with actual font size
Monil-KTX Sep 17, 2025
f6edb34
fix: left side md-content with character limit with actual font size
Monil-KTX Sep 17, 2025
e84f36d
fix: resolve main page width issue
Monil-KTX Sep 17, 2025
ca306df
fix: make md-content center in screen with actual font-size
Monil-KTX Sep 17, 2025
e6eee5e
feat: make search bar for for searching
Monil-KTX Sep 17, 2025
d17918f
fix: md content left-container
Monil-KTX Sep 17, 2025
80378cb
fix: make css related changes
Monil-KTX Sep 17, 2025
797c20c
fix: md-content in center with container view
Monil-KTX Sep 17, 2025
c48ff31
fix: md-content left with container view
Monil-KTX Sep 17, 2025
4e2360f
fix: make container view width
Monil-KTX Sep 22, 2025
4f1fd0c
Merge branch 'dev' into fix/make-css-related-changes-in-landing-page
Monil-KTX Sep 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/assets/close-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions docs/assets/moon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions docs/js/search-close-minimal.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,65 @@
// Show/hide close icon based on .md-search-result__meta visibility
function isElementInViewport(el) {
if (!el) return false;
const rect = el.getBoundingClientRect();
return (
rect.top < window.innerHeight &&
rect.bottom > 0 &&
rect.left < window.innerWidth &&
rect.right > 0
);
}

function toggleCloseIconVisibility() {
const meta = document.querySelector(".md-search-result__meta");
const closeIcon = document.querySelector(".md-search__close");
if (closeIcon) {
if (isElementInViewport(meta)) {
closeIcon.style.display = "flex";
} else {
closeIcon.style.display = "none";
}
}
}

window.addEventListener("scroll", toggleCloseIconVisibility);
window.addEventListener("resize", toggleCloseIconVisibility);
document.addEventListener("DOMContentLoaded", toggleCloseIconVisibility);
// Also run after search results update
document.addEventListener("input", function (e) {
if (e.target.classList.contains("md-search__input")) {
setTimeout(toggleCloseIconVisibility, 50);
}
});
/**
* Minimal Search Close Functionality
* Adds click handler to the close icon in the search input
*/

document.addEventListener("DOMContentLoaded", function () {
// Inject clear button if not present
const searchInput = document.querySelector(".md-search__input");
if (searchInput && !document.querySelector(".md-search__clear")) {
const clearBtn = document.createElement("button");
clearBtn.className = "md-search__clear";
clearBtn.type = "button";
clearBtn.textContent = "Clear";
searchInput.parentNode.insertBefore(clearBtn, searchInput.nextSibling);

clearBtn.addEventListener("click", function () {
searchInput.value = "";
searchInput.dispatchEvent(new Event("input", { bubbles: true }));
searchInput.focus();
clearBtn.style.display = "none";
});

searchInput.addEventListener("input", function () {
clearBtn.style.display = searchInput.value ? "inline" : "none";
});

// Initial state
clearBtn.style.display = searchInput.value ? "inline" : "none";
}
// Add click handler to search input when close icon area is clicked
document.addEventListener("click", function (e) {
const searchInput = document.querySelector(".md-search__input");
Expand Down
92 changes: 92 additions & 0 deletions docs/js/toc-highlight.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/**
* Simple TOC scroll-based highlighting
* Highlights current section in purple text
*/

(function () {
"use strict";

let tocLinks = [];
let headings = [];

function init() {
// Find TOC links
tocLinks = Array.from(
document.querySelectorAll(".md-nav--secondary .md-nav__link")
);
if (tocLinks.length === 0) return;

// Find corresponding headings
headings = tocLinks
.map((link) => {
const href = link.getAttribute("href");
return href && href.startsWith("#")
? document.getElementById(href.substring(1))
: null;
})
.filter((h) => h !== null);

if (headings.length === 0) return;

// Listen to scroll
window.addEventListener("scroll", updateHighlight, { passive: true });
updateHighlight();
}

function updateHighlight() {
const scrollTop = window.pageYOffset;
const windowHeight = window.innerHeight;
const documentHeight = document.documentElement.scrollHeight;

// If near bottom, highlight last item
if (scrollTop + windowHeight >= documentHeight - 50) {
setActive(tocLinks.length - 1);
return;
}

// Find current section
let activeIndex = -1;
for (let i = headings.length - 1; i >= 0; i--) {
if (headings[i] && headings[i].getBoundingClientRect().top <= 80) {
activeIndex = i;
break;
}
}

setActive(activeIndex);
}

function setActive(index) {
// Remove all active classes
tocLinks.forEach((link) => {
link.classList.remove("md-nav__link--active", "is-active");
});

// Add active class to current item and scroll into view if needed
if (index >= 0 && index < tocLinks.length) {
const activeLink = tocLinks[index];
activeLink.classList.add("md-nav__link--active", "is-active");
// Scroll the active link into view within the sidebar
// Only if not already fully visible
if (typeof activeLink.scrollIntoView === "function") {
activeLink.scrollIntoView({ block: "nearest", behavior: "smooth" });
}
}
}

// Initialize when ready
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", init);
} else {
init();
}

// Re-initialize on page changes
let currentUrl = location.href;
new MutationObserver(() => {
if (location.href !== currentUrl) {
currentUrl = location.href;
setTimeout(init, 100);
}
}).observe(document, { childList: true, subtree: true });
})();
Loading