selector_to_html = {"a[href=\"../Tools/cURL.html#curl-tools-el7-icelake-znver-stanage\"]": "<h1 class=\"tippy-header\" style=\"margin-top: 0;\">cURL<a class=\"headerlink\" href=\"#curl\" title=\"Link to this heading\">\uf0c1</a></h1><p>libcurl is a free and easy-to-use client-side URL transfer library,\nsupporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP,\nLDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP.\nlibcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP\nform based upload, proxies, cookies, user+password authentication (Basic,\nDigest, NTLM, Negotiate, Kerberos), file transfer resume, http proxy tunneling\nand more.</p>", "a[href=\"#notes\"]": "<h2 class=\"tippy-header\" style=\"margin-top: 0;\">Notes<a class=\"headerlink\" href=\"#notes\" title=\"Link to this heading\">\uf0c1</a></h2><p>Xerces-C++ was installed using Easybuild, build details can be found in <code class=\"docutils literal notranslate\"><span class=\"pre\">$EBROOTXERCESMINCPLUSPLUS/easybuild</span></code> with a given module loaded.</p>", "a[href=\"../Compiler/GCCcore.html#gcccore-compiler-el7-icelake-znver-stanage\"]": "<h1 class=\"tippy-header\" style=\"margin-top: 0;\">GCCcore<a class=\"headerlink\" href=\"#gcccore\" title=\"Link to this heading\">\uf0c1</a></h1><p>The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, and Ada,\nas well as libraries for these languages (libstdc++, libgcj,\u2026).</p>", "a[href=\"../../../../../hpc/connecting.html#ssh\"]": "<h2 class=\"tippy-header\" style=\"margin-top: 0;\">Establishing a SSH connection<a class=\"headerlink\" href=\"#establishing-a-ssh-connection\" title=\"Link to this heading\">\uf0c1</a></h2><p>Once you have a terminal open run the following command to\nlog in to a cluster:</p>", "a[href=\"#xerces-c\"]": "<h1 class=\"tippy-header\" style=\"margin-top: 0;\">Xerces-C++<a class=\"headerlink\" href=\"#xerces-c\" title=\"Link to this heading\">\uf0c1</a></h1><p>Xerces-C++ is a validating XML parser written in a portable\nsubset of C++. Xerces-C++ makes it easy to give your application the ability to\nread and write XML data. A shared library is provided for parsing, generating,\nmanipulating, and validating XML documents using the DOM, SAX, and SAX2\nAPIs.</p>", "a[href=\"../../../index.html#stanage-software\"]": "<h1 class=\"tippy-header\" style=\"margin-top: 0;\">Software on Stanage<a class=\"headerlink\" href=\"#software-on-stanage\" title=\"Link to this heading\">\uf0c1</a></h1><p>These pages provide a list software available on the Stanage cluster. If you notice an error or\nan omission, or wish to request new software submit a request to\n<a class=\"reference external\" href=\"mailto:research-it%40sheffield.ac.uk?subject=HPCSoftwareinstallationrequest\">research-it<span>@</span>sheffield<span>.</span>ac<span>.</span>uk</a> .</p><p>These sections cover commonly used packages in more detail, including documentation on their interactive\nand batch usage with examples where applicable. The aim is to help users get started and make efficient use of the software on Stanage.</p>"}
skip_classes = ["headerlink", "sd-stretched-link"]

window.onload = function () {
    for (const [select, tip_html] of Object.entries(selector_to_html)) {
        const links = document.querySelectorAll(` ${select}`);
        for (const link of links) {
            if (skip_classes.some(c => link.classList.contains(c))) {
                continue;
            }

            tippy(link, {
                content: tip_html,
                allowHTML: true,
                arrow: true,
                placement: 'auto-start', maxWidth: 500, interactive: false,

            });
        };
    };
    console.log("tippy tips loaded!");
};
