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 Sep 13, 2024
1 parent ef23647 commit 7ed3331
Show file tree
Hide file tree
Showing 15 changed files with 1,592 additions and 1,123 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bd23e0d4
dbf36dc6
112 changes: 86 additions & 26 deletions about.html

Large diffs are not rendered by default.

116 changes: 88 additions & 28 deletions index.html

Large diffs are not rendered by default.

394 changes: 197 additions & 197 deletions search.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions site_libs/quarto-html/quarto-syntax-highlighting.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 12 additions & 3 deletions site_libs/quarto-html/quarto.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
if (link.href.indexOf("#") !== -1) {
const anchor = link.href.split("#")[1];
const heading = window.document.querySelector(
`[data-anchor-id=${anchor}]`
`[data-anchor-id="${anchor}"]`
);
if (heading) {
// Add the class
Expand Down Expand Up @@ -134,8 +134,10 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
window.innerHeight + window.pageYOffset >=
window.document.body.offsetHeight
) {
// This is the no-scroll case where last section should be the active one
sectionIndex = 0;
} else {
// This finds the last section visible on screen that should be made active
sectionIndex = [...sections].reverse().findIndex((section) => {
if (section) {
return window.pageYOffset >= section.offsetTop - sectionMargin;
Expand Down Expand Up @@ -317,6 +319,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
for (const child of el.children) {
child.style.opacity = 0;
child.style.overflow = "hidden";
child.style.pointerEvents = "none";
}

nexttick(() => {
Expand Down Expand Up @@ -358,6 +361,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {

const clone = child.cloneNode(true);
clone.style.opacity = 1;
clone.style.pointerEvents = null;
clone.style.display = null;
toggleContents.append(clone);
}
Expand Down Expand Up @@ -432,6 +436,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
for (const child of el.children) {
child.style.opacity = 1;
child.style.overflow = null;
child.style.pointerEvents = null;
}

const placeholderEl = window.document.getElementById(
Expand Down Expand Up @@ -739,6 +744,7 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
// Process the collapse state if this is an UL
if (el.tagName === "UL") {
if (tocOpenDepth === -1 && depth > 1) {
// toc-expand: false
el.classList.add("collapse");
} else if (
depth <= tocOpenDepth ||
Expand All @@ -757,10 +763,9 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
};

// walk the TOC and expand / collapse any items that should be shown

if (tocEl) {
walk(tocEl, 0);
updateActiveLink();
walk(tocEl, 0);
}

// Throttle the scroll event and walk peridiocally
Expand All @@ -779,6 +784,10 @@ window.document.addEventListener("DOMContentLoaded", function (_event) {
window.addEventListener(
"resize",
throttle(() => {
if (tocEl) {
updateActiveLink();
walk(tocEl, 0);
}
if (!isReaderMode()) {
hideOverlappedSidebars();
}
Expand Down
36 changes: 36 additions & 0 deletions site_libs/quarto-nav/quarto-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,45 @@ const headroomChanged = new CustomEvent("quarto-hrChanged", {
composed: false,
});

const announceDismiss = () => {
const annEl = window.document.getElementById("quarto-announcement");
if (annEl) {
annEl.remove();

const annId = annEl.getAttribute("data-announcement-id");
window.localStorage.setItem(`quarto-announce-${annId}`, "true");
}
};

const announceRegister = () => {
const annEl = window.document.getElementById("quarto-announcement");
if (annEl) {
const annId = annEl.getAttribute("data-announcement-id");
const isDismissed =
window.localStorage.getItem(`quarto-announce-${annId}`) || false;
if (isDismissed) {
announceDismiss();
return;
} else {
annEl.classList.remove("hidden");
}

const actionEl = annEl.querySelector(".quarto-announcement-action");
if (actionEl) {
actionEl.addEventListener("click", function (e) {
e.preventDefault();
// Hide the bar immediately
announceDismiss();
});
}
}
};

window.document.addEventListener("DOMContentLoaded", function () {
let init = false;

announceRegister();

// Manage the back to top button, if one is present.
let lastScrollTop = window.pageYOffset || document.documentElement.scrollTop;
const scrollDownBuffer = 5;
Expand Down
6 changes: 5 additions & 1 deletion site_libs/quarto-search/quarto-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,11 @@ async function fuseSearch(query, fuse, fuseOptions) {

// If we don't have a subfuse and the query is long enough, go ahead
// and create a subfuse to use for subsequent queries
if (now - then > kFuseMaxWait && subSearchFuse === undefined) {
if (
now - then > kFuseMaxWait &&
subSearchFuse === undefined &&
resultsRaw.length < fuseOptions.limit
) {
subSearchTerm = query;
subSearchFuse = new window.Fuse([], kFuseIndexOptions);
resultsRaw.forEach((rr) => {
Expand Down
26 changes: 13 additions & 13 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/2_Reading_tidying_data.html</loc>
<lastmod>2024-04-23T09:38:46.797Z</lastmod>
<loc>https://Sanduni-P.github.io/IntroR/about.html</loc>
<lastmod>2024-09-13T01:41:39.061Z</lastmod>
</url>
<url>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/1_Introduction.html</loc>
<lastmod>2024-04-23T09:38:46.797Z</lastmod>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/3_Data_Manipulation.html</loc>
<lastmod>2024-09-13T01:41:39.061Z</lastmod>
</url>
<url>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/5_Exploring_Metabric.html</loc>
<lastmod>2024-04-23T09:38:46.797Z</lastmod>
<lastmod>2024-09-13T01:41:39.061Z</lastmod>
</url>
<url>
<loc>https://Sanduni-P.github.io/IntroR/about.html</loc>
<lastmod>2024-04-23T09:38:46.797Z</lastmod>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/1_Introduction.html</loc>
<lastmod>2024-09-13T01:41:39.061Z</lastmod>
</url>
<url>
<loc>https://Sanduni-P.github.io/IntroR/index.html</loc>
<lastmod>2024-04-23T09:38:46.797Z</lastmod>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/4_Visualization.html</loc>
<lastmod>2024-09-13T01:41:39.061Z</lastmod>
</url>
<url>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/4_Visualization.html</loc>
<lastmod>2024-04-23T09:38:46.797Z</lastmod>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/2_Reading_tidying_data.html</loc>
<lastmod>2024-09-13T01:41:39.061Z</lastmod>
</url>
<url>
<loc>https://Sanduni-P.github.io/IntroR/vignettes/3_Data_Manipulation.html</loc>
<lastmod>2024-04-23T09:38:46.797Z</lastmod>
<loc>https://Sanduni-P.github.io/IntroR/index.html</loc>
<lastmod>2024-09-13T01:41:39.061Z</lastmod>
</url>
</urlset>
150 changes: 105 additions & 45 deletions vignettes/1_Introduction.html

Large diffs are not rendered by default.

186 changes: 123 additions & 63 deletions vignettes/2_Reading_tidying_data.html

Large diffs are not rendered by default.

1,190 changes: 625 additions & 565 deletions vignettes/3_Data_Manipulation.html

Large diffs are not rendered by default.

354 changes: 207 additions & 147 deletions vignettes/4_Visualization.html

Large diffs are not rendered by default.

122 changes: 90 additions & 32 deletions vignettes/5_Exploring_Metabric.html

Large diffs are not rendered by default.

0 comments on commit 7ed3331

Please sign in to comment.