// SPDX-License-Identifier: MIT /** Doxygen Awesome https://github.com/jothepro/doxygen-awesome-css Copyright (c) 2022 - 2025 jothepro */ class DoxygenAwesomeParagraphLink { // Icon from https://fonts.google.com/icons // Licensed under the Apache 2.0 license: // https://www.apache.org/licenses/LICENSE-2.0.html static icon = `` static title = "Permanent Link" static init() { $(function() { $(document).ready(function() { document.querySelectorAll(".contents a.anchor[id], .contents .groupheader > a[id]").forEach((node) => { let anchorlink = document.createElement("a") anchorlink.setAttribute("href", `#${node.getAttribute("id")}`) anchorlink.setAttribute("title", DoxygenAwesomeParagraphLink.title) anchorlink.classList.add("anchorlink") node.classList.add("anchor") anchorlink.innerHTML = DoxygenAwesomeParagraphLink.icon node.parentElement.appendChild(anchorlink) }) }) }) } }