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 Jan 31, 2024
1 parent b8f47d4 commit c11735f
Show file tree
Hide file tree
Showing 11 changed files with 76 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
454106e9
d3df54c1
28 changes: 20 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link href="site_libs/quarto-html/quarto-html.min.css" rel="stylesheet" data-mode="light">
<link href="site_libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="site_libs/quarto-contrib/qrcodejs-v1.0.0/qrcode.js"></script><meta charset="utf-8">
<meta name="generator" content="quarto-1.3.450">
<meta name="generator" content="quarto-1.4.549">

<meta name="author" content="[email protected]">
<title>Sheffield R User Group Schedule - SheffieldR</title>
Expand Down Expand Up @@ -160,7 +160,8 @@
}

.callout.callout-titled .callout-body > .callout-content > :last-child {
margin-bottom: 0.5rem;
padding-bottom: 0.5rem;
margin-bottom: 0;
}

.callout.callout-titled .callout-icon::before {
Expand Down Expand Up @@ -365,23 +366,27 @@ <h2>Future Meetings and Feedback</h2>
<p>Volunteer to talk:</p>
<div id="qr1" class="qrcode"></div>
<script type="text/javascript">
var qrcode = new QRCode("qr1", {"colorDark":"#000000","height":"400","width":"400","colorLight":"#ffffff","text":"https://forms.gle/24F7E31nQU7CqaV36"});
var qrcode = new QRCode("qr1", {"text":"https://forms.gle/24F7E31nQU7CqaV36","width":"400","colorLight":"#ffffff","colorDark":"#000000","height":"400"});
</script>

<p><a href="https://forms.gle/24F7E31nQU7CqaV36">https://bit.ly/SheffieldRVolunteer</a></p>
</div><div class="column" style="width:50%;">
<p>Feedback:</p>
<div id="qr2" class="qrcode"></div>
<script type="text/javascript">
var qrcode = new QRCode("qr2", {"colorDark":"#000000","height":"400","width":"400","colorLight":"#ffffff","text":"https://forms.gle/vLuwjLwYG7mNfexv9"});
var qrcode = new QRCode("qr2", {"text":"https://forms.gle/vLuwjLwYG7mNfexv9","width":"400","colorLight":"#ffffff","colorDark":"#000000","height":"400"});
</script>

<p><a href="https://forms.gle/vLuwjLwYG7mNfexv9">https://bit.ly/SheffieldRFeedback</a></p>
</div>
</div>
<p>Email : <a href="mailto:[email protected]">[email protected]</a></p>

<div class="quarto-auto-generated-content">
<div class="footer footer-default">
<p><a href="https://sheffieldr.github.io/posts/2024-01-18-jan-meetup/"><strong>sheffieldr.github.io/posts/2024-01-18-jan-meetup</strong></a></p>
</div>
</div>
</section>
</div>
</div>
Expand Down Expand Up @@ -410,7 +415,6 @@ <h2>Future Meetings and Feedback</h2>
Reveal.initialize({
'controlsAuto': true,
'previewLinksAuto': false,
'smaller': false,
'pdfSeparateFragments': false,
'autoAnimateEasing': "ease",
'autoAnimateDuration': 1,
Expand Down Expand Up @@ -672,10 +676,9 @@ <h2>Future Meetings and Feedback</h2>
// clear code selection
e.clearSelection();
});
function tippyHover(el, contentFn) {
function tippyHover(el, contentFn, onTriggerFn, onUntriggerFn) {
const config = {
allowHTML: true,
content: contentFn,
maxWidth: 500,
delay: 100,
arrow: false,
Expand All @@ -685,8 +688,17 @@ <h2>Future Meetings and Feedback</h2>
interactive: true,
interactiveBorder: 10,
theme: 'light-border',
placement: 'bottom-start'
placement: 'bottom-start',
};
if (contentFn) {
config.content = contentFn;
}
if (onTriggerFn) {
config.onTrigger = onTriggerFn;
}
if (onUntriggerFn) {
config.onUntrigger = onUntriggerFn;
}
config['offset'] = [0,0];
config['maxWidth'] = 700;
window.tippy(el, config);
Expand Down
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"href": "index.html#future-meetings-and-feedback",
"title": "SheffieldR",
"section": "Future Meetings and Feedback",
"text": "Future Meetings and Feedback\n\n\nVolunteer to talk:\n\n\n \n\nFeedback:\n\n\n \n\n\nEmail : [email protected]\n\n\nsheffieldr.github.io/posts/2024-01-18-jan-meetup"
"text": "Future Meetings and Feedback\n\n\nVolunteer to talk:\n\n\n \nhttps://bit.ly/SheffieldRVolunteer\n\nFeedback:\n\n\n \nhttps://bit.ly/SheffieldRFeedback\n\n\nEmail : [email protected]\n\n\n\nsheffieldr.github.io/posts/2024-01-18-jan-meetup"
}
]
4 changes: 2 additions & 2 deletions site_libs/quarto-html/popper.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site_libs/quarto-html/quarto-html.min.css
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/*# sourceMappingURL=0a6b880beb84f9b6f36107a76f82c5b1.css.map */

7 changes: 5 additions & 2 deletions site_libs/revealjs/dist/theme/quarto.css

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions site_libs/revealjs/plugin/pdf-export/pdfexport.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ var PdfExport = ( function( _Reveal ){
Reveal = _Reveal;
install();
};
Plugin.togglePdfExport = function () {
togglePdfExport();
};
}

return Plugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ window.QuartoLineHighlight = function () {
divSourceCode.forEach((el) => {
if (el.hasAttribute(kCodeLineNumbersAttr)) {
const codeLineAttr = el.getAttribute(kCodeLineNumbersAttr);
el.removeAttribute("data-code-line-numbers");
el.removeAttribute(kCodeLineNumbersAttr);
if (handleLinesSelector(deck, codeLineAttr)) {
// Only process if attr is a string to select lines to highlights
// e.g "1|3,6|8-11"
Expand Down Expand Up @@ -165,17 +165,17 @@ window.QuartoLineHighlight = function () {
if (typeof highlight.last === "number") {
spanToHighlight = [].slice.call(
codeBlock.querySelectorAll(
":scope > span:nth-child(n+" +
":scope > span:nth-of-type(n+" +
highlight.first +
"):nth-child(-n+" +
"):nth-of-type(-n+" +
highlight.last +
")"
)
);
} else if (typeof highlight.first === "number") {
spanToHighlight = [].slice.call(
codeBlock.querySelectorAll(
":scope > span:nth-child(" + highlight.first + ")"
":scope > span:nth-of-type(" + highlight.first + ")"
)
);
}
Expand Down
34 changes: 32 additions & 2 deletions site_libs/revealjs/plugin/quarto-support/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ window.QuartoSupport = function () {
return /print-pdf/gi.test(window.location.search);
}

// helper for theme toggling
function toggleBackgroundTheme(el, onDarkBackground, onLightBackground) {
if (onDarkBackground) {
el.classList.add('has-dark-background')
} else {
el.classList.remove('has-dark-background')
}
if (onLightBackground) {
el.classList.add('has-light-background')
} else {
el.classList.remove('has-light-background')
}
}

// implement controlsAudo
function controlsAuto(deck) {
const config = deck.getConfig();
Expand Down Expand Up @@ -111,8 +125,19 @@ window.QuartoSupport = function () {
}
}

// add footer text
function addFooter(deck) {
// tweak slide-number element
function tweakSlideNumber(deck) {
deck.on("slidechanged", function (ev) {
const revealParent = deck.getRevealElement();
const slideNumberEl = revealParent.querySelector(".slide-number");
const onDarkBackground = Reveal.getSlideBackground(ev.indexh, ev.indexv).classList.contains('has-dark-background');
const onLightBackground = Reveal.getSlideBackground(ev.indexh, ev.indexv).classList.contains('has-light-background');
toggleBackgroundTheme(slideNumberEl, onDarkBackground, onLightBackground);
})
}

// add footer text
function addFooter(deck) {
const revealParent = deck.getRevealElement();
const defaultFooterDiv = document.querySelector(".footer-default");
if (defaultFooterDiv) {
Expand All @@ -127,13 +152,17 @@ window.QuartoSupport = function () {
prevSlideFooter.remove();
}
const currentSlideFooter = ev.currentSlide.querySelector(".footer");
const onDarkBackground = Reveal.getSlideBackground(ev.indexh, ev.indexv).classList.contains('has-dark-background')
const onLightBackground = Reveal.getSlideBackground(ev.indexh, ev.indexv).classList.contains('has-light-background')
if (currentSlideFooter) {
defaultFooterDiv.style.display = "none";
const slideFooter = currentSlideFooter.cloneNode(true);
handleLinkClickEvents(deck, slideFooter);
deck.getRevealElement().appendChild(slideFooter);
toggleBackgroundTheme(slideFooter, onDarkBackground, onLightBackground)
} else {
defaultFooterDiv.style.display = "block";
toggleBackgroundTheme(defaultFooterDiv, onDarkBackground, onLightBackground)
}
});
}
Expand Down Expand Up @@ -280,6 +309,7 @@ window.QuartoSupport = function () {
fixupForPrint(deck);
applyGlobalStyles(deck);
addLogoImage(deck);
tweakSlideNumber(deck);
addFooter(deck);
addChalkboardButtons(deck);
handleTabbyClicks();
Expand Down
9 changes: 9 additions & 0 deletions site_libs/revealjs/plugin/reveal-chalkboard/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,15 @@ console.warn( "toggleNotesButton is deprecated, use customcontrols plugin instea
} );
a.href = window.URL.createObjectURL( blob );
} catch ( error ) {
// https://stackoverflow.com/a/6234804
// escape data for proper handling of quotes and line breaks
// in case malicious gets a chance to craft the exception message
error = String(error).replace(/&/g, "&amp;")
.replace(/</g, "&lt;")
.replace(/>/g, "&gt;")
.replace(/"/g, "&quot;")
.replace(/'/g, "&#039;");

a.innerHTML += ' (' + error + ')';
}
a.click();
Expand Down
2 changes: 1 addition & 1 deletion sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://sheffieldr.github.io/schedule_slides/index.html</loc>
<lastmod>2024-01-16T14:23:22.554Z</lastmod>
<lastmod>2024-01-31T15:13:32.560Z</lastmod>
</url>
</urlset>

0 comments on commit c11735f

Please sign in to comment.