Doc: Add image headers.

This commit is contained in:
ArthurSonzogni
2025-05-30 19:32:42 +02:00
parent deae56888a
commit cde284e747
4 changed files with 24 additions and 0 deletions

View File

@@ -25,6 +25,23 @@
DoxygenAwesomeParagraphLink.init()
DoxygenAwesomeInteractiveToc.init()
DoxygenAwesomeTabs.init()
window.addEventListener('DOMContentLoaded', function () {
document.querySelectorAll(".headertitle").forEach(div => {
if (div.textContent != "Getting Started" &&
div.textContent != "Installation" &&
div.textContent != "Modules" &&
true) {
return;
}
div.style.display = "none";
const img = document.querySelector("img.inline");
img.style.transition = "all 1.0s ease-in-out";
img.style.maxHeight = "40vh";
img.style.maxWidth = "100%";
img.style.objectFit = "contain";
});
});
</script>
$treeview
$search