Skip to content

Commit

Permalink
Deploying to gh-pages from @ 530366d 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Jun 12, 2024
1 parent 763c099 commit d327105
Show file tree
Hide file tree
Showing 38 changed files with 104 additions and 84 deletions.
4 changes: 2 additions & 2 deletions examples/blog/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.43">
<meta name="generator" content="quarto-1.5.45">

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


<title>My Awesome {quarto-pyodide} Blog – About</title>
<title>About – My Awesome {quarto-pyodide} Blog</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down
8 changes: 4 additions & 4 deletions examples/blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.43">
<meta name="generator" content="quarto-1.5.45">

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


<title>My Awesome {quarto-pyodide} Blog – blog</title>
<title>blog – My Awesome {quarto-pyodide} Blog</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -205,7 +205,7 @@ <h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-list

<div class="quarto-listing quarto-listing-container-default" id="listing-listing">
<div class="list quarto-listing-default">
<div class="quarto-post image-right" data-index="0" data-categories="news,code,analysis" data-listing-date-sort="1710201600000" data-listing-file-modified-sort="1717949598538" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="41">
<div class="quarto-post image-right" data-index="0" data-categories="news,code,analysis" data-listing-date-sort="1710201600000" data-listing-file-modified-sort="1718205506836" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="41">
<div class="thumbnail">
<p><a href="./posts/post-with-code/index.html" class="no-external"></a></p><a href="./posts/post-with-code/index.html" class="no-external">
<p><img loading="lazy" src="./posts/post-with-code/image.jpg" class="thumbnail-image"></p>
Expand Down Expand Up @@ -244,7 +244,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="1" data-categories="news,code,analysis" data-listing-date-sort="1708300800000" data-listing-file-modified-sort="1717949598538" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="92">
<div class="quarto-post image-right" data-index="1" data-categories="news,code,analysis" data-listing-date-sort="1708300800000" data-listing-file-modified-sort="1718205506836" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="92">
<div class="thumbnail">
<p><a href="./posts/embed-slides/index.html" class="no-external"></a></p><a href="./posts/embed-slides/index.html" class="no-external">
<p><img loading="lazy" src="./posts/embed-slides/image.jpg" class="thumbnail-image"></p>
Expand Down
4 changes: 2 additions & 2 deletions examples/blog/posts/embed-slides/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.43">
<meta name="generator" content="quarto-1.5.45">

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

<meta name="author" content="James Balamuta">
<meta name="dcterms.date" content="2024-02-19">

<title>My Awesome {quarto-pyodide} Blog – Post Containing Slides with Interactive Python Code</title>
<title>Post Containing Slides with Interactive Python Code – My Awesome {quarto-pyodide} Blog</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down
6 changes: 3 additions & 3 deletions examples/blog/posts/post-with-code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.43">
<meta name="generator" content="quarto-1.5.45">

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

<meta name="author" content="James Balamuta">
<meta name="dcterms.date" content="2024-03-12">

<title>My Awesome {quarto-pyodide} Blog – Post With Interactive Code</title>
<title>Post With Interactive Code – My Awesome {quarto-pyodide} Blog</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -230,7 +230,7 @@
}

// Store cell data
globalThis.qpyodideCellDetails = [{"id":1,"code":"print(\"Hello {quarto-pyodide} blog world!\")","options":{"classes":"","message":"true","dpi":72,"results":"markup","context":"interactive","warning":"true","read-only":"false","fig-height":5,"out-width":"700px","output":"true","out-height":"","autorun":"","label":"","fig-width":7,"comment":"","fig-cap":""}}];
globalThis.qpyodideCellDetails = [{"id":1,"options":{"read-only":"false","out-height":"","context":"interactive","fig-cap":"","output":"true","fig-height":5,"message":"true","fig-width":7,"classes":"","label":"","results":"markup","comment":"","dpi":72,"out-width":"700px","warning":"true","autorun":""},"code":"print(\"Hello {quarto-pyodide} blog world!\")"}];


</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/blog/site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion examples/blog/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
6 changes: 3 additions & 3 deletions examples/book/example-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.43">
<meta name="generator" content="quarto-1.5.45">

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


<title>Sample quarto-pyodide Book Project – 2&nbsp; Example page</title>
<title>2&nbsp; Example page – Sample quarto-pyodide Book Project</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -230,7 +230,7 @@
}

// Store cell data
globalThis.qpyodideCellDetails = [{"code":"import numpy as np\n\n# Data for plotting\nt = np.arange(0.0, 2.0, 0.01)\ns = 1 + np.sin(2 * np.pi * t)\n\n# Print t\nprint(f\"Displaying 10 observations of `t`:\\n{t[:10]}\\n\")\n\nprint(\"Showing the first 10 values of `s`:\")\n# The last object in the cell does not need print.\ns[:10]","options":{"warning":"true","comment":"","read-only":"false","message":"true","results":"markup","output":"true","label":"","fig-width":7,"fig-cap":"","dpi":72,"autorun":"","context":"interactive","fig-height":5,"out-width":"700px","out-height":"","classes":""},"id":1},{"code":"import matplotlib.pyplot as plt\n\nfig, ax = plt.subplots()\nax.plot(t, s)\n\nax.set(xlabel='time (s)', ylabel='voltage (mV)',\n title='About as simple as it gets, folks')\nax.grid()\n\nplt.show()","options":{"warning":"true","comment":"","read-only":"false","message":"true","results":"markup","output":"true","label":"","fig-width":7,"fig-cap":"","dpi":72,"autorun":"","context":"interactive","fig-height":5,"out-width":"700px","out-height":"","classes":""},"id":2}];
globalThis.qpyodideCellDetails = [{"code":"import numpy as np\n\n# Data for plotting\nt = np.arange(0.0, 2.0, 0.01)\ns = 1 + np.sin(2 * np.pi * t)\n\n# Print t\nprint(f\"Displaying 10 observations of `t`:\\n{t[:10]}\\n\")\n\nprint(\"Showing the first 10 values of `s`:\")\n# The last object in the cell does not need print.\ns[:10]","id":1,"options":{"read-only":"false","warning":"true","comment":"","results":"markup","output":"true","fig-height":5,"context":"interactive","message":"true","out-width":"700px","autorun":"","label":"","classes":"","fig-cap":"","dpi":72,"fig-width":7,"out-height":""}},{"code":"import matplotlib.pyplot as plt\n\nfig, ax = plt.subplots()\nax.plot(t, s)\n\nax.set(xlabel='time (s)', ylabel='voltage (mV)',\n title='About as simple as it gets, folks')\nax.grid()\n\nplt.show()","id":2,"options":{"read-only":"false","warning":"true","comment":"","results":"markup","output":"true","fig-height":5,"context":"interactive","message":"true","out-width":"700px","autorun":"","label":"","classes":"","fig-cap":"","dpi":72,"fig-width":7,"out-height":""}}];


</script>
Expand Down
8 changes: 4 additions & 4 deletions examples/book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.43">
<meta name="generator" content="quarto-1.5.45">

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

<meta name="author" content="JJB">
<meta name="dcterms.date" content="2024-06-09">
<meta name="dcterms.date" content="2024-06-12">

<title>Sample quarto-pyodide Book Project</title>
<style>
Expand Down Expand Up @@ -231,7 +231,7 @@
}

// Store cell data
globalThis.qpyodideCellDetails = [{"options":{"fig-width":7,"warning":"true","message":"true","output":"true","autorun":"","context":"interactive","results":"markup","out-width":"700px","classes":"","dpi":72,"read-only":"false","fig-cap":"","comment":"","fig-height":5,"out-height":"","label":""},"id":1,"code":"print(\"Hello there! Welcome to a {quarto-pyodide} powered book!\")"}];
globalThis.qpyodideCellDetails = [{"id":1,"code":"print(\"Hello there! Welcome to a {quarto-pyodide} powered book!\")","options":{"dpi":72,"context":"interactive","comment":"","label":"","warning":"true","output":"true","classes":"","out-height":"","read-only":"false","message":"true","out-width":"700px","autorun":"","fig-cap":"","fig-height":5,"results":"markup","fig-width":7}}];


</script>
Expand Down Expand Up @@ -548,7 +548,7 @@ <h1 class="title">Sample quarto-pyodide Book Project</h1>
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">June 9, 2024</p>
<p class="date">June 12, 2024</p>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion examples/book/site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion examples/book/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
4 changes: 2 additions & 2 deletions examples/book/slide-embed.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.5.43">
<meta name="generator" content="quarto-1.5.45">

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


<title>Sample quarto-pyodide Book Project – 3&nbsp; Embed Slides</title>
<title>3&nbsp; Embed Slides – Sample quarto-pyodide Book Project</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down
4 changes: 2 additions & 2 deletions examples/html-document/index.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.5.43">
<meta name="generator" content="quarto-1.5.45">

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

Expand Down Expand Up @@ -195,7 +195,7 @@
}

// Store cell data
globalThis.qpyodideCellDetails = [{"options":{"fig-width":7,"warning":"true","label":"","results":"markup","out-width":"700px","message":"true","dpi":72,"context":"interactive","read-only":"false","out-height":"","fig-cap":"","comment":"","autorun":"","classes":"","fig-height":5,"output":"true"},"id":1,"code":"print(\"Hello there! Welcome to a quarto-pyodide powered HTML Document!\")"}];
globalThis.qpyodideCellDetails = [{"options":{"out-width":"700px","autorun":"","results":"markup","context":"interactive","output":"true","fig-height":5,"message":"true","warning":"true","label":"","classes":"","fig-width":7,"out-height":"","comment":"","read-only":"false","dpi":72,"fig-cap":""},"id":1,"code":"print(\"Hello there! Welcome to a quarto-pyodide powered HTML Document!\")"}];


</script>
Expand Down

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/readme/index.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.5.43">
<meta name="generator" content="quarto-1.5.45">

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

Expand Down Expand Up @@ -195,7 +195,7 @@
}

// Store cell data
globalThis.qpyodideCellDetails = [{"id":1,"options":{"results":"markup","fig-cap":"","message":"true","out-width":"700px","autorun":"","warning":"true","context":"interactive","output":"true","out-height":"","fig-height":5,"label":"","comment":"","classes":"","fig-width":7,"read-only":"false","dpi":72},"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')"}];
globalThis.qpyodideCellDetails = [{"id":1,"options":{"warning":"true","fig-width":7,"classes":"","out-width":"700px","results":"markup","dpi":72,"autorun":"","read-only":"false","comment":"","context":"interactive","output":"true","message":"true","fig-cap":"","out-height":"","fig-height":5,"label":""},"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')"}];


</script>
Expand Down

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/revealjs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link href="index_files/libs/quarto-html/quarto-syntax-highlighting.css" rel="stylesheet" id="quarto-text-highlighting-styles">
<script src="index_files/libs/quarto-contrib/countdown-0.5.0/countdown.js"></script>
<link href="index_files/libs/quarto-contrib/countdown-0.5.0/countdown.css" rel="stylesheet"><meta charset="utf-8">
<meta name="generator" content="quarto-1.5.43">
<meta name="generator" content="quarto-1.5.45">

<title>{quarto-pyodide} Demo RevealJS Document</title>
<meta name="apple-mobile-web-app-capable" content="yes">
Expand Down Expand Up @@ -483,7 +483,7 @@
}

// Store cell data
globalThis.qpyodideCellDetails = [{"id":1,"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","options":{"comment":"","dpi":72,"fig-width":7,"label":"","autorun":"","read-only":"false","results":"markup","message":"true","fig-height":5,"output":"true","fig-cap":"","context":"interactive","out-height":"","out-width":"700px","classes":"","warning":"true"}},{"id":2,"code":"import matplotlib.pyplot as plt\nimport numpy as np\n\nx = np.linspace(0, 2*np.pi, 100)\ny = np.sin(x)\nplt.plot(x, y)\nplt.title('Sine wave')\nplt.show()","options":{"comment":"","dpi":72,"fig-width":7,"label":"","autorun":"","read-only":"false","results":"markup","message":"true","fig-height":5,"output":"true","fig-cap":"","context":"interactive","out-height":"","out-width":"700px","classes":"","warning":"true"}},{"id":3,"code":"def say_hello(name):\n _________(f\"Hello there {name}!\")\n\nsay_hello(\"quarto-pyodide\")","options":{"comment":"","dpi":72,"fig-width":7,"label":"","autorun":"","read-only":"false","results":"markup","message":"true","fig-height":5,"output":"true","fig-cap":"","context":"interactive","out-height":"","out-width":"700px","classes":"","warning":"true"}},{"id":4,"code":"print(\"Hello quarto-pyodide RevealJS world!\")\n\n[x**2 for x in range(0, 5)]\n\n3 + 5","options":{"comment":"","dpi":72,"fig-width":7,"label":"","autorun":"","read-only":"false","results":"markup","message":"true","fig-height":5,"output":"true","fig-cap":"","context":"interactive","out-height":"","out-width":"700px","classes":"","warning":"true"}}];
globalThis.qpyodideCellDetails = [{"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","id":1,"options":{"comment":"","autorun":"","output":"true","warning":"true","context":"interactive","read-only":"false","out-width":"700px","message":"true","classes":"","results":"markup","out-height":"","fig-height":5,"fig-cap":"","dpi":72,"label":"","fig-width":7}},{"code":"import matplotlib.pyplot as plt\nimport numpy as np\n\nx = np.linspace(0, 2*np.pi, 100)\ny = np.sin(x)\nplt.plot(x, y)\nplt.title('Sine wave')\nplt.show()","id":2,"options":{"comment":"","autorun":"","output":"true","warning":"true","context":"interactive","read-only":"false","out-width":"700px","message":"true","classes":"","results":"markup","out-height":"","fig-height":5,"fig-cap":"","dpi":72,"label":"","fig-width":7}},{"code":"def say_hello(name):\n _________(f\"Hello there {name}!\")\n\nsay_hello(\"quarto-pyodide\")","id":3,"options":{"comment":"","autorun":"","output":"true","warning":"true","context":"interactive","read-only":"false","out-width":"700px","message":"true","classes":"","results":"markup","out-height":"","fig-height":5,"fig-cap":"","dpi":72,"label":"","fig-width":7}},{"code":"print(\"Hello quarto-pyodide RevealJS world!\")\n\n[x**2 for x in range(0, 5)]\n\n3 + 5","id":4,"options":{"comment":"","autorun":"","output":"true","warning":"true","context":"interactive","read-only":"false","out-width":"700px","message":"true","classes":"","results":"markup","out-height":"","fig-height":5,"fig-cap":"","dpi":72,"label":"","fig-width":7}}];


</script>
Expand Down Expand Up @@ -714,7 +714,7 @@ <h2>matplotlib Graphing with Pyodide</h2>
<section id="quarto-pyodide-countdown" class="slide level2">
<h2>quarto-{pyodide + countdown}</h2>
<p>Pair code cells with a <a href="https://github.com/gadenbuie/countdown/tree/main/quarto">countdown timer</a> to allow for practice</p>
<div id="timer_47571ca32a6ce58187dc2fb147eb0465a063ec88" class="countdown" data-warn-when="0" data-update-every="1" data-play-sound="false" data-blink-colon="false" data-start-immediately="false" tabindex="0" style="top: 0;right: 0;">
<div id="timer_56fe98ef67de3e3af7a9d905151ce0428f9ee15f" class="countdown" data-warn-when="0" data-update-every="1" data-play-sound="false" data-blink-colon="false" data-start-immediately="false" tabindex="0" style="top: 0;right: 0;">
<div class="countdown-controls">
<button class="countdown-bump-down"></button>
<button class="countdown-bump-up">+</button>
Expand Down
Loading

0 comments on commit d327105

Please sign in to comment.