Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deploy: 7c46e87
Browse files Browse the repository at this point in the history
github-actions[bot] committed Mar 30, 2024

Unverified

This user has not yet uploaded their public signing key.
0 parents commit 85b8038
Showing 34 changed files with 15,910 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
Binary file added 04_event_files/figure-html/cell-10-output-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
866 changes: 866 additions & 0 deletions CHANGELOG.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ghapi.fast.ai
649 changes: 649 additions & 0 deletions CONTRIBUTING.html

Large diffs are not rendered by default.

957 changes: 957 additions & 0 deletions actions.html

Large diffs are not rendered by default.

778 changes: 778 additions & 0 deletions auth.html

Large diffs are not rendered by default.

678 changes: 678 additions & 0 deletions build_lib.html

Large diffs are not rendered by default.

781 changes: 781 additions & 0 deletions cli.html

Large diffs are not rendered by default.

1,294 changes: 1,294 additions & 0 deletions core.html

Large diffs are not rendered by default.

863 changes: 863 additions & 0 deletions event.html

Large diffs are not rendered by default.

1,708 changes: 1,708 additions & 0 deletions fullapi.html

Large diffs are not rendered by default.

830 changes: 830 additions & 0 deletions index.html

Large diffs are not rendered by default.

841 changes: 841 additions & 0 deletions page.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sitemap: https://ghapi.fast.ai/sitemap.xml
750 changes: 750 additions & 0 deletions search.json

Large diffs are not rendered by default.

2,078 changes: 2,078 additions & 0 deletions site_libs/bootstrap/bootstrap-icons.css

Large diffs are not rendered by default.

Binary file added site_libs/bootstrap/bootstrap-icons.woff
Binary file not shown.
12 changes: 12 additions & 0 deletions site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions site_libs/bootstrap/bootstrap.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions site_libs/clipboard/clipboard.min.js

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

9 changes: 9 additions & 0 deletions site_libs/quarto-html/anchor.min.js

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

6 changes: 6 additions & 0 deletions site_libs/quarto-html/popper.min.js

Large diffs are not rendered by default.

203 changes: 203 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.

899 changes: 899 additions & 0 deletions site_libs/quarto-html/quarto.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions site_libs/quarto-html/tippy.css
2 changes: 2 additions & 0 deletions site_libs/quarto-html/tippy.umd.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions site_libs/quarto-nav/headroom.min.js
289 changes: 289 additions & 0 deletions site_libs/quarto-nav/quarto-nav.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
const headroomChanged = new CustomEvent("quarto-hrChanged", {
detail: {},
bubbles: true,
cancelable: false,
composed: false,
});

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

// Manage the back to top button, if one is present.
let lastScrollTop = window.pageYOffset || document.documentElement.scrollTop;
const scrollDownBuffer = 5;
const scrollUpBuffer = 35;
const btn = document.getElementById("quarto-back-to-top");
const hideBackToTop = () => {
btn.style.display = "none";
};
const showBackToTop = () => {
btn.style.display = "inline-block";
};
if (btn) {
window.document.addEventListener(
"scroll",
function () {
const currentScrollTop =
window.pageYOffset || document.documentElement.scrollTop;

// Shows and hides the button 'intelligently' as the user scrolls
if (currentScrollTop - scrollDownBuffer > lastScrollTop) {
hideBackToTop();
lastScrollTop = currentScrollTop <= 0 ? 0 : currentScrollTop;
} else if (currentScrollTop < lastScrollTop - scrollUpBuffer) {
showBackToTop();
lastScrollTop = currentScrollTop <= 0 ? 0 : currentScrollTop;
}

// Show the button at the bottom, hides it at the top
if (currentScrollTop <= 0) {
hideBackToTop();
} else if (
window.innerHeight + currentScrollTop >=
document.body.offsetHeight
) {
showBackToTop();
}
},
false
);
}

function throttle(func, wait) {
var timeout;
return function () {
const context = this;
const args = arguments;
const later = function () {
clearTimeout(timeout);
timeout = null;
func.apply(context, args);
};

if (!timeout) {
timeout = setTimeout(later, wait);
}
};
}

function headerOffset() {
// Set an offset if there is are fixed top navbar
const headerEl = window.document.querySelector("header.fixed-top");
if (headerEl) {
return headerEl.clientHeight;
} else {
return 0;
}
}

function footerOffset() {
const footerEl = window.document.querySelector("footer.footer");
if (footerEl) {
return footerEl.clientHeight;
} else {
return 0;
}
}

function dashboardOffset() {
const dashboardNavEl = window.document.getElementById(
"quarto-dashboard-header"
);
if (dashboardNavEl !== null) {
return dashboardNavEl.clientHeight;
} else {
return 0;
}
}

function updateDocumentOffsetWithoutAnimation() {
updateDocumentOffset(false);
}

function updateDocumentOffset(animated) {
// set body offset
const topOffset = headerOffset();
const bodyOffset = topOffset + footerOffset() + dashboardOffset();
const bodyEl = window.document.body;
bodyEl.setAttribute("data-bs-offset", topOffset);
bodyEl.style.paddingTop = topOffset + "px";

// deal with sidebar offsets
const sidebars = window.document.querySelectorAll(
".sidebar, .headroom-target"
);
sidebars.forEach((sidebar) => {
if (!animated) {
sidebar.classList.add("notransition");
// Remove the no transition class after the animation has time to complete
setTimeout(function () {
sidebar.classList.remove("notransition");
}, 201);
}

if (window.Headroom && sidebar.classList.contains("sidebar-unpinned")) {
sidebar.style.top = "0";
sidebar.style.maxHeight = "100vh";
} else {
sidebar.style.top = topOffset + "px";
sidebar.style.maxHeight = "calc(100vh - " + topOffset + "px)";
}
});

// allow space for footer
const mainContainer = window.document.querySelector(".quarto-container");
if (mainContainer) {
mainContainer.style.minHeight = "calc(100vh - " + bodyOffset + "px)";
}

// link offset
let linkStyle = window.document.querySelector("#quarto-target-style");
if (!linkStyle) {
linkStyle = window.document.createElement("style");
linkStyle.setAttribute("id", "quarto-target-style");
window.document.head.appendChild(linkStyle);
}
while (linkStyle.firstChild) {
linkStyle.removeChild(linkStyle.firstChild);
}
if (topOffset > 0) {
linkStyle.appendChild(
window.document.createTextNode(`
section:target::before {
content: "";
display: block;
height: ${topOffset}px;
margin: -${topOffset}px 0 0;
}`)
);
}
if (init) {
window.dispatchEvent(headroomChanged);
}
init = true;
}

// initialize headroom
var header = window.document.querySelector("#quarto-header");
if (header && window.Headroom) {
const headroom = new window.Headroom(header, {
tolerance: 5,
onPin: function () {
const sidebars = window.document.querySelectorAll(
".sidebar, .headroom-target"
);
sidebars.forEach((sidebar) => {
sidebar.classList.remove("sidebar-unpinned");
});
updateDocumentOffset();
},
onUnpin: function () {
const sidebars = window.document.querySelectorAll(
".sidebar, .headroom-target"
);
sidebars.forEach((sidebar) => {
sidebar.classList.add("sidebar-unpinned");
});
updateDocumentOffset();
},
});
headroom.init();

let frozen = false;
window.quartoToggleHeadroom = function () {
if (frozen) {
headroom.unfreeze();
frozen = false;
} else {
headroom.freeze();
frozen = true;
}
};
}

window.addEventListener(
"hashchange",
function (e) {
if (
getComputedStyle(document.documentElement).scrollBehavior !== "smooth"
) {
window.scrollTo(0, window.pageYOffset - headerOffset());
}
},
false
);

// Observe size changed for the header
const headerEl = window.document.querySelector("header.fixed-top");
if (headerEl && window.ResizeObserver) {
const observer = new window.ResizeObserver(() => {
setTimeout(updateDocumentOffsetWithoutAnimation, 0);
});
observer.observe(headerEl, {
attributes: true,
childList: true,
characterData: true,
});
} else {
window.addEventListener(
"resize",
throttle(updateDocumentOffsetWithoutAnimation, 50)
);
}
setTimeout(updateDocumentOffsetWithoutAnimation, 250);

// fixup index.html links if we aren't on the filesystem
if (window.location.protocol !== "file:") {
const links = window.document.querySelectorAll("a");
for (let i = 0; i < links.length; i++) {
if (links[i].href) {
links[i].dataset.originalHref = links[i].href;
links[i].href = links[i].href.replace(/\/index\.html/, "/");
}
}

// Fixup any sharing links that require urls
// Append url to any sharing urls
const sharingLinks = window.document.querySelectorAll(
"a.sidebar-tools-main-item, a.quarto-navigation-tool, a.quarto-navbar-tools, a.quarto-navbar-tools-item"
);
for (let i = 0; i < sharingLinks.length; i++) {
const sharingLink = sharingLinks[i];
const href = sharingLink.getAttribute("href");
if (href) {
sharingLink.setAttribute(
"href",
href.replace("|url|", window.location.href)
);
}
}

// Scroll the active navigation item into view, if necessary
const navSidebar = window.document.querySelector("nav#quarto-sidebar");
if (navSidebar) {
// Find the active item
const activeItem = navSidebar.querySelector("li.sidebar-item a.active");
if (activeItem) {
// Wait for the scroll height and height to resolve by observing size changes on the
// nav element that is scrollable
const resizeObserver = new ResizeObserver((_entries) => {
// The bottom of the element
const elBottom = activeItem.offsetTop;
const viewBottom = navSidebar.scrollTop + navSidebar.clientHeight;

// The element height and scroll height are the same, then we are still loading
if (viewBottom !== navSidebar.scrollHeight) {
// Determine if the item isn't visible and scroll to it
if (elBottom >= viewBottom) {
navSidebar.scrollTop = elBottom;
}

// stop observing now since we've completed the scroll
resizeObserver.unobserve(navSidebar);
}
});
resizeObserver.observe(navSidebar);
}
}
}
});
3 changes: 3 additions & 0 deletions site_libs/quarto-search/autocomplete.umd.js

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions site_libs/quarto-search/fuse.min.js

Large diffs are not rendered by default.

1,286 changes: 1,286 additions & 0 deletions site_libs/quarto-search/quarto-search.js

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://ghapi.fast.ai/CHANGELOG.html</loc>
<lastmod>2024-03-30T18:32:52.601Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/event.html</loc>
<lastmod>2024-03-30T18:33:22.228Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/page.html</loc>
<lastmod>2024-03-30T18:33:21.557Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/auth.html</loc>
<lastmod>2024-03-30T18:33:21.493Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/build_lib.html</loc>
<lastmod>2024-03-30T18:33:21.425Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/core.html</loc>
<lastmod>2024-03-30T18:33:21.588Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/fullapi.html</loc>
<lastmod>2024-03-30T18:33:21.401Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/actions.html</loc>
<lastmod>2024-03-30T18:33:21.569Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/cli.html</loc>
<lastmod>2024-03-30T18:33:21.485Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/CONTRIBUTING.html</loc>
<lastmod>2024-03-30T18:32:52.601Z</lastmod>
</url>
<url>
<loc>https://ghapi.fast.ai/index.html</loc>
<lastmod>2024-03-30T18:33:21.600Z</lastmod>
</url>
</urlset>
48 changes: 48 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
.cell {
margin-bottom: 1rem;
}

.cell > .sourceCode {
margin-bottom: 0;
}

.cell-output > pre {
margin-bottom: 0;
}

.cell-output > pre, .cell-output > .sourceCode > pre, .cell-output-stdout > pre {
margin-left: 0.8rem;
margin-top: 0;
background: none;
border-left: 2px solid lightsalmon;
border-top-left-radius: 0;
border-top-right-radius: 0;
}

.cell-output > .sourceCode {
border: none;
}

.cell-output > .sourceCode {
background: none;
margin-top: 0;
}

div.description {
padding-left: 2px;
padding-top: 5px;
font-style: italic;
font-size: 135%;
opacity: 70%;
}

/* show_doc signature */
blockquote > pre {
font-size: 14px;
}

.table {
font-size: 16px;
/* disable striped tables */
--bs-table-striped-bg: var(--bs-table-bg);
}

0 comments on commit 85b8038

Please sign in to comment.