Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Apr 3, 2024
1 parent d1420a0 commit 24d7436
Show file tree
Hide file tree
Showing 661 changed files with 265,304 additions and 157,528 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7761d105
c9686a0d
244 changes: 214 additions & 30 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.3.450">
<meta name="generator" content="quarto-1.4.552">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

Expand Down Expand Up @@ -44,7 +44,13 @@
"collapse-after": 3,
"panel-placement": "start",
"type": "textbox",
"limit": 20,
"limit": 50,
"keyboard-shortcut": [
"f",
"/",
"s"
],
"show-item-context": false,
"language": {
"search-no-results-text": "No results",
"search-matching-documents-text": "matching documents",
Expand All @@ -53,6 +59,7 @@
"search-more-match-text": "more match in this document",
"search-more-matches-text": "more matches in this document",
"search-clear-button-title": "Clear",
"search-text-placeholder": "",
"search-detached-cancel-button-title": "Cancel",
"search-submit-button-title": "Submit",
"search-label": "Search"
Expand All @@ -62,24 +69,24 @@

<meta property="og:title" content="HOAD - 404 error">
<meta property="og:description" content="The page you’re looking for doesn’t exist. 😕">
<meta property="og:site-name" content="HOAD">
<meta property="og:site_name" content="HOAD">
<meta name="twitter:title" content="HOAD - 404 error">
<meta name="twitter:description" content="The page you’re looking for doesn’t exist. 😕">
<meta name="twitter:card" content="summary">
</head>

<body class="nav-sidebar docked fullcontent">
<body class="nav-sidebar docked">

<div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top">
<nav class="quarto-secondary-nav">
<div class="container-fluid d-flex">
<button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target=".quarto-sidebar-collapse-item" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<i class="bi bi-layout-text-sidebar-reverse"></i>
</button>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item">404 error</li></ol></nav>
<a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
</a>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item">404 error</li></ol></nav>
<a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target=".quarto-sidebar-collapse-item" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
</a>
<button type="button" class="btn quarto-search-button" aria-label="" onclick="window.quartoOpenSearch();">
<i class="bi bi-search"></i>
</button>
Expand All @@ -89,15 +96,15 @@
<!-- content -->
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article">
<!-- sidebar -->
<nav id="quarto-sidebar" class="sidebar collapse collapse-horizontal sidebar-navigation docked overflow-auto">
<nav id="quarto-sidebar" class="sidebar collapse collapse-horizontal quarto-sidebar-collapse-item sidebar-navigation docked overflow-auto">
<div class="pt-lg-2 mt-2 text-center sidebar-header">
<a href="/hoaddash/index.html" class="sidebar-logo-link">
<img src="/hoaddash/hoad_logo.png" alt="" class="sidebar-logo py-0 d-lg-inline d-none">
</a>
<div class="sidebar-tools-main tools-wide">
<a href="https://github.com/subugoe/hoaddash" rel="" title="GitHub Dashboard Repo" class="quarto-navigation-tool px-1" aria-label="GitHub Dashboard Repo"><i class="bi bi-github"></i></a>
<a href="https://github.com/subugoe/hoaddata" rel="" title="GitHub Data Repo" class="quarto-navigation-tool px-1" aria-label="GitHub Data Repo"><i class="bi bi-file-bar-graph"></i></a>
<a href="https://github.com/subugoe/hoaddash/issues" rel="" title="Report a Bug" class="quarto-navigation-tool px-1" aria-label="Report a Bug"><i class="bi bi-bug"></i></a>
<a href="https://github.com/subugoe/hoaddash" title="GitHub Dashboard Repo" class="quarto-navigation-tool px-1" aria-label="GitHub Dashboard Repo"><i class="bi bi-github"></i></a>
<a href="https://github.com/subugoe/hoaddata" title="GitHub Data Repo" class="quarto-navigation-tool px-1" aria-label="GitHub Data Repo"><i class="bi bi-file-bar-graph"></i></a>
<a href="https://github.com/subugoe/hoaddash/issues" title="Report a Bug" class="quarto-navigation-tool px-1" aria-label="Report a Bug"><i class="bi bi-bug"></i></a>
</div>
</div>
<div class="mt-2 flex-shrink-0 align-items-center">
Expand Down Expand Up @@ -441,20 +448,14 @@
</ul>
</div>
<div class="quarto-sidebar-footer"><div class="sidebar-footer-item">
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="https://www.sub.uni-goettingen.de/sub-aktuell/"><img src="/hoaddash/sub_logo.svg" class="img-fluid figure-img"></a></p>
</figure>
</div>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><a href="https://gepris.dfg.de/gepris/projekt/416115939"><img src="/hoaddash/dfg_logo.jpg" class="img-fluid figure-img"></a></p>
</figure>
</div>
<p><a href="https://www.sub.uni-goettingen.de/sub-aktuell/"><img src="/hoaddash/sub_logo.svg" class="img-fluid"></a></p>
<p><a href="https://gepris.dfg.de/gepris/projekt/416115939"><img src="/hoaddash/dfg_logo.jpg" class="img-fluid"></a></p>
</div></div></nav>
<div id="quarto-sidebar-glass" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar,#quarto-sidebar-glass"></div>
<div id="quarto-sidebar-glass" class="quarto-sidebar-collapse-item" data-bs-toggle="collapse" data-bs-target=".quarto-sidebar-collapse-item"></div>
<!-- margin-sidebar -->

<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">

</div>
<!-- main -->
<main class="content" id="quarto-document-content">

Expand All @@ -474,8 +475,10 @@ <h1 class="title">404 error</h1>
</div>



</header>


<p>Check the sidebar navigation and search to find your publisher-specific dashboard.</p>


Expand Down Expand Up @@ -560,10 +563,27 @@ <h1 class="title">404 error</h1>
// clear code selection
e.clearSelection();
});
function tippyHover(el, contentFn) {
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp("https:\/\/subugoe\.github\.io\/hoaddash\/");
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
// Inspect non-navigation links and adorn them if external
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)');
for (var i=0; i<links.length; i++) {
const link = links[i];
if (!isInternal(link.href)) {
// undo the damage that might have been done by quarto-nav.js in the case of
// links that we want to consider external
if (link.dataset.originalHref !== undefined) {
link.href = link.dataset.originalHref;
}
}
}
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
const config = {
allowHTML: true,
content: contentFn,
maxWidth: 500,
delay: 100,
arrow: false,
Expand All @@ -573,8 +593,17 @@ <h1 class="title">404 error</h1>
interactive: true,
interactiveBorder: 10,
theme: 'quarto',
placement: 'bottom-start'
placement: 'bottom-start',
};
if (contentFn) {
config.content = contentFn;
}
if (onTriggerFn) {
config.onTrigger = onTriggerFn;
}
if (onUntriggerFn) {
config.onUntrigger = onUntriggerFn;
}
window.tippy(el, config);
}
const noterefs = window.document.querySelectorAll('a[role="doc-noteref"]');
Expand All @@ -586,7 +615,130 @@ <h1 class="title">404 error</h1>
try { href = new URL(href).hash; } catch {}
const id = href.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
return note.innerHTML;
if (note) {
return note.innerHTML;
} else {
return "";
}
});
}
const xrefs = window.document.querySelectorAll('a.quarto-xref');
const processXRef = (id, note) => {
// Strip column container classes
const stripColumnClz = (el) => {
el.classList.remove("page-full", "page-columns");
if (el.children) {
for (const child of el.children) {
stripColumnClz(child);
}
}
}
stripColumnClz(note)
if (id === null || id.startsWith('sec-')) {
// Special case sections, only their first couple elements
const container = document.createElement("div");
if (note.children && note.children.length > 2) {
container.appendChild(note.children[0].cloneNode(true));
for (let i = 1; i < note.children.length; i++) {
const child = note.children[i];
if (child.tagName === "P" && child.innerText === "") {
continue;
} else {
container.appendChild(child.cloneNode(true));
break;
}
}
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(container);
}
return container.innerHTML
} else {
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
return note.innerHTML;
}
} else {
// Remove any anchor links if they are present
const anchorLink = note.querySelector('a.anchorjs-link');
if (anchorLink) {
anchorLink.remove();
}
if (window.Quarto?.typesetMath) {
window.Quarto.typesetMath(note);
}
// TODO in 1.5, we should make sure this works without a callout special case
if (note.classList.contains("callout")) {
return note.outerHTML;
} else {
return note.innerHTML;
}
}
}
for (var i=0; i<xrefs.length; i++) {
const xref = xrefs[i];
tippyHover(xref, undefined, function(instance) {
instance.disable();
let url = xref.getAttribute('href');
let hash = undefined;
if (url.startsWith('#')) {
hash = url;
} else {
try { hash = new URL(url).hash; } catch {}
}
if (hash) {
const id = hash.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
if (note !== null) {
try {
const html = processXRef(id, note.cloneNode(true));
instance.setContent(html);
} finally {
instance.enable();
instance.show();
}
} else {
// See if we can fetch this
fetch(url.split('#')[0])
.then(res => res.text())
.then(html => {
const parser = new DOMParser();
const htmlDoc = parser.parseFromString(html, "text/html");
const note = htmlDoc.getElementById(id);
if (note !== null) {
const html = processXRef(id, note);
instance.setContent(html);
}
}).finally(() => {
instance.enable();
instance.show();
});
}
} else {
// See if we can fetch a full url (with no hash to target)
// This is a special case and we should probably do some content thinning / targeting
fetch(url)
.then(res => res.text())
.then(html => {
const parser = new DOMParser();
const htmlDoc = parser.parseFromString(html, "text/html");
const note = htmlDoc.querySelector('main.content');
if (note !== null) {
// This should only happen for chapter cross references
// (since there is no id in the URL)
// remove the first header
if (note.children.length > 0 && note.children[0].tagName === "HEADER") {
note.children[0].remove();
}
const html = processXRef(null, note);
instance.setContent(html);
}
}).finally(() => {
instance.enable();
instance.show();
});
}
}, function(instance) {
});
}
let selectedAnnoteEl;
Expand Down Expand Up @@ -630,6 +782,7 @@ <h1 class="title">404 error</h1>
}
div.style.top = top - 2 + "px";
div.style.height = height + 4 + "px";
div.style.left = 0;
let gutterDiv = window.document.getElementById("code-annotation-line-highlight-gutter");
if (gutterDiv === null) {
gutterDiv = window.document.createElement("div");
Expand All @@ -655,6 +808,32 @@ <h1 class="title">404 error</h1>
});
selectedAnnoteEl = undefined;
};
// Handle positioning of the toggle
window.addEventListener(
"resize",
throttle(() => {
elRect = undefined;
if (selectedAnnoteEl) {
selectCodeLines(selectedAnnoteEl);
}
}, 10)
);
function throttle(fn, ms) {
let throttle = false;
let timer;
return (...args) => {
if(!throttle) { // first call gets through
fn.apply(this, args);
throttle = true;
} else { // all the others get throttled
if(timer) clearTimeout(timer); // cancel #2
timer = setTimeout(() => {
fn.apply(this, args);
timer = throttle = false;
}, ms);
}
};
}
// Attach click handler to the DT
const annoteDls = window.document.querySelectorAll('dt[data-target-cell]');
for (const annoteDlNode of annoteDls) {
Expand Down Expand Up @@ -727,10 +906,14 @@ <h1 class="title">404 error</h1>
<div class="nav-footer-center">
<ul class="footer-items list-unstyled">
<li class="nav-item">
<a class="nav-link" href="/hoaddash/privacy.html">Privacy</a>
<a class="nav-link" href="/hoaddash/privacy.html">
<p>Privacy</p>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://www.sub.uni-goettingen.de/impressum/">Imprint</a>
<a class="nav-link" href="https://www.sub.uni-goettingen.de/impressum/">
<p>Imprint</p>
</a>
</li>
</ul>
</div>
Expand All @@ -749,4 +932,5 @@ <h1 class="title">404 error</h1>




</body></html>
Loading

0 comments on commit 24d7436

Please sign in to comment.