/** * Copyright (c) 2024, Benjamin Cabé * SPDX-License-Identifier: Apache-2.0 * * This script adds mouse hover hooks to the current page to display * Doxygen documentation as tooltips when hovering over a symbol in the * documentation. */ registerDoxygenTooltip = function () { const parser = new DOMParser(); const tooltip = document.createElement('div'); tooltip.id = 'doxytooltip'; document.body.appendChild(tooltip); const tooltipShadow = document.createElement('div'); tooltipShadow.id = 'doxytooltip-shadow'; tooltip.attachShadow({ mode: 'open' }).appendChild(tooltipShadow); /* tippy's JS code automatically adds a