Skip to content

Commit 6c43303

Browse files
committed
Deploying to gh-pages from @ e611095 🚀
1 parent e0ac60a commit 6c43303

22 files changed

+71
-143
lines changed

examples/blog/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ <h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-list
205205

206206
<div class="quarto-listing quarto-listing-container-default" id="listing-listing">
207207
<div class="list quarto-listing-default">
208-
<div class="quarto-post image-right" data-index="0" data-categories="news,code,analysis" data-listing-date-sort="1710201600000" data-listing-file-modified-sort="1723137650734" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="41">
208+
<div class="quarto-post image-right" data-index="0" data-categories="news,code,analysis" data-listing-date-sort="1710201600000" data-listing-file-modified-sort="1723224878822" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="41">
209209
<div class="thumbnail">
210210
<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">
211211
<p><img loading="lazy" src="./posts/post-with-code/image.jpg" class="thumbnail-image"></p>
@@ -244,7 +244,7 @@ <h3 class="no-anchor listing-title">
244244
</a>
245245
</div>
246246
</div>
247-
<div class="quarto-post image-right" data-index="1" data-categories="news,code,analysis" data-listing-date-sort="1708300800000" data-listing-file-modified-sort="1723137650734" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="92">
247+
<div class="quarto-post image-right" data-index="1" data-categories="news,code,analysis" data-listing-date-sort="1708300800000" data-listing-file-modified-sort="1723224878822" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="92">
248248
<div class="thumbnail">
249249
<p><a href="./posts/embed-slides/index.html" class="no-external"></a></p><a href="./posts/embed-slides/index.html" class="no-external">
250250
<p><img loading="lazy" src="./posts/embed-slides/image.jpg" class="thumbnail-image"></p>

examples/blog/posts/post-with-code/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
}
231231

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

235235

236236
</script>

examples/book/example-page.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
}
231231

232232
// Store cell data
233-
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","comment":"","warning":"true","classes":"","out-width":"700px","fig-height":5,"label":"","dpi":72,"autorun":"","output":"true","results":"markup","out-height":"","fig-width":7,"context":"interactive","message":"true","fig-cap":""}},{"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","comment":"","warning":"true","classes":"","out-width":"700px","fig-height":5,"label":"","dpi":72,"autorun":"","output":"true","results":"markup","out-height":"","fig-width":7,"context":"interactive","message":"true","fig-cap":""}}];
233+
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":{"context":"interactive","out-width":"700px","fig-width":7,"read-only":"false","label":"","autorun":"","output":"true","warning":"true","dpi":72,"message":"true","classes":"","fig-height":5,"comment":"","out-height":"","fig-cap":"","results":"markup"}},{"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":{"context":"interactive","out-width":"700px","fig-width":7,"read-only":"false","label":"","autorun":"","output":"true","warning":"true","dpi":72,"message":"true","classes":"","fig-height":5,"comment":"","out-height":"","fig-cap":"","results":"markup"}}];
234234

235235

236236
</script>

examples/book/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
88

99
<meta name="author" content="JJB">
10-
<meta name="dcterms.date" content="2024-08-08">
10+
<meta name="dcterms.date" content="2024-08-09">
1111

1212
<title>Sample quarto-pyodide Book Project</title>
1313
<style>
@@ -231,7 +231,7 @@
231231
}
232232

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

236236

237237
</script>
@@ -548,7 +548,7 @@ <h1 class="title">Sample quarto-pyodide Book Project</h1>
548548
<div>
549549
<div class="quarto-title-meta-heading">Published</div>
550550
<div class="quarto-title-meta-contents">
551-
<p class="date">August 8, 2024</p>
551+
<p class="date">August 9, 2024</p>
552552
</div>
553553
</div>
554554

examples/html-document/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
}
196196

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

200200

201201
</script>

examples/readme/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
}
196196

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

200200

201201
</script>

examples/revealjs/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@
483483
}
484484

485485
// Store cell data
486-
globalThis.qpyodideCellDetails = [{"options":{"out-height":"","out-width":"700px","results":"markup","label":"","dpi":72,"context":"interactive","comment":"","warning":"true","autorun":"","fig-height":5,"message":"true","classes":"","fig-cap":"","output":"true","read-only":"false","fig-width":7},"id":1,"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')"},{"options":{"out-height":"","out-width":"700px","results":"markup","label":"","dpi":72,"context":"interactive","comment":"","warning":"true","autorun":"","fig-height":5,"message":"true","classes":"","fig-cap":"","output":"true","read-only":"false","fig-width":7},"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":{"out-height":"","out-width":"700px","results":"markup","label":"","dpi":72,"context":"interactive","comment":"","warning":"true","autorun":"","fig-height":5,"message":"true","classes":"","fig-cap":"","output":"true","read-only":"false","fig-width":7},"id":3,"code":"def say_hello(name):\n _________(f\"Hello there {name}!\")\n\nsay_hello(\"quarto-pyodide\")"},{"options":{"out-height":"","out-width":"700px","results":"markup","label":"","dpi":72,"context":"interactive","comment":"","warning":"true","autorun":"","fig-height":5,"message":"true","classes":"","fig-cap":"","output":"true","read-only":"false","fig-width":7},"id":4,"code":"print(\"Hello quarto-pyodide RevealJS world!\")\n\n[x**2 for x in range(0, 5)]\n\n3 + 5"}];
486+
globalThis.qpyodideCellDetails = [{"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","options":{"dpi":72,"warning":"true","label":"","out-width":"700px","context":"interactive","message":"true","out-height":"","fig-width":7,"comment":"","results":"markup","classes":"","autorun":"","read-only":"false","output":"true","fig-cap":"","fig-height":5},"id":1},{"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":{"dpi":72,"warning":"true","label":"","out-width":"700px","context":"interactive","message":"true","out-height":"","fig-width":7,"comment":"","results":"markup","classes":"","autorun":"","read-only":"false","output":"true","fig-cap":"","fig-height":5},"id":2},{"code":"def say_hello(name):\n _________(f\"Hello there {name}!\")\n\nsay_hello(\"quarto-pyodide\")","options":{"dpi":72,"warning":"true","label":"","out-width":"700px","context":"interactive","message":"true","out-height":"","fig-width":7,"comment":"","results":"markup","classes":"","autorun":"","read-only":"false","output":"true","fig-cap":"","fig-height":5},"id":3},{"code":"print(\"Hello quarto-pyodide RevealJS world!\")\n\n[x**2 for x in range(0, 5)]\n\n3 + 5","options":{"dpi":72,"warning":"true","label":"","out-width":"700px","context":"interactive","message":"true","out-height":"","fig-width":7,"comment":"","results":"markup","classes":"","autorun":"","read-only":"false","output":"true","fig-cap":"","fig-height":5},"id":4}];
487487

488488

489489
</script>
@@ -714,7 +714,7 @@ <h2>matplotlib Graphing with Pyodide</h2>
714714
<section id="quarto-pyodide-countdown" class="slide level2">
715715
<h2>quarto-{pyodide + countdown}</h2>
716716
<p>Pair code cells with a <a href="https://github.com/gadenbuie/countdown/tree/main/quarto">countdown timer</a> to allow for practice</p>
717-
<div id="timer_0bf4270d1bcf9f488b3051cc2d4a448d7b2394be" 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;">
717+
<div id="timer_c13ed385f8b92d1d6032d195cf70eba4f2dac2bc" 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;">
718718
<div class="countdown-controls">
719719
<button class="countdown-bump-down"></button>
720720
<button class="countdown-bump-up">+</button>

examples/website/example-page.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
}
229229

230230
// Store cell data
231-
globalThis.qpyodideCellDetails = [{"code":"import pandas as pd \nimport numpy as np \n\ndf = pd.DataFrame(\n {\n \"A\": 1.0,\n \"B\": pd.Timestamp(\"20130102\"),\n \"C\": pd.Series(1, index=list(range(4)), dtype=\"float32\"),\n \"D\": np.array([3] * 4, dtype=\"int32\"),\n \"E\": pd.Categorical([\"test\", \"train\", \"test\", \"train\"]),\n \"F\": \"foo\",\n }\n)\n\n\ndf","options":{"out-width":"700px","context":"interactive","read-only":"false","comment":"","dpi":72,"message":"true","out-height":"","fig-width":7,"label":"","warning":"true","output":"true","results":"markup","autorun":"","fig-cap":"","fig-height":5,"classes":""},"id":1}];
231+
globalThis.qpyodideCellDetails = [{"code":"import pandas as pd \nimport numpy as np \n\ndf = pd.DataFrame(\n {\n \"A\": 1.0,\n \"B\": pd.Timestamp(\"20130102\"),\n \"C\": pd.Series(1, index=list(range(4)), dtype=\"float32\"),\n \"D\": np.array([3] * 4, dtype=\"int32\"),\n \"E\": pd.Categorical([\"test\", \"train\", \"test\", \"train\"]),\n \"F\": \"foo\",\n }\n)\n\n\ndf","id":1,"options":{"comment":"","read-only":"false","results":"markup","classes":"","label":"","warning":"true","autorun":"","fig-cap":"","fig-width":7,"output":"true","context":"interactive","message":"true","fig-height":5,"dpi":72,"out-height":"","out-width":"700px"}}];
232232

233233

234234
</script>

examples/website/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
}
229229

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

233233

234234
</script>

index.html

+5-14
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
}
238238

239239
// Store cell data
240-
globalThis.qpyodideCellDetails = [{"id":1,"code":"# Welcome to Python!\n\nprint(\"Hello, Quarto-Pyodide!\")\nprint(\"You've just entered the world of Python programming.\")\n\n# Let's make a graph\nimport matplotlib.pyplot as plt\nplt.plot([1, 2, 3, 4], [1, 4, 9, 16])\nplt.ylabel('Magic Numbers')\nplt.show()\n\n# Feel free to add your own code below and have fun with Python!","options":{"comment":"","message":"true","fig-width":7,"out-height":"","fig-height":5,"classes":"","warning":"true","read-only":"false","results":"markup","dpi":72,"output":"true","context":"interactive","label":"","fig-cap":"","out-width":"700px","autorun":""}}];
240+
globalThis.qpyodideCellDetails = [{"id":1,"options":{"results":"markup","classes":"","context":"interactive","output":"true","out-width":"700px","warning":"true","label":"","message":"true","comment":"","dpi":72,"autorun":"","read-only":"false","fig-cap":"","fig-height":5,"fig-width":7,"out-height":""},"code":"# Welcome to Python!\n\nprint(\"Hello, Quarto-Pyodide!\")\nprint(\"You've just entered the world of Python programming.\")\n\n# Let's make a graph\nimport matplotlib.pyplot as plt\nplt.plot([1, 2, 3, 4], [1, 4, 9, 16])\nplt.ylabel('Magic Numbers')\nplt.show()\n\n# Feel free to add your own code below and have fun with Python!"}];
241241

242242

243243
</script>
@@ -435,6 +435,9 @@
435435

436436
<div id="quarto-search-results"></div>
437437
<header id="quarto-header" class="headroom fixed-top">
438+
<div id="quarto-announcement" data-announcement-id="120d11d612021758b0207b437cf2dffd" class="alert alert-primary hidden"><i class="bi bi-info-circle quarto-announcement-icon"></i><div class="quarto-announcement-content">
439+
<p>Looking for the official Quarto WebAssembly backend? Check out <a href="https://github.com/r-wasm/quarto-live"><code>quarto-live</code></a>!</p>
440+
</div><i class="bi bi-x-lg quarto-announcement-action"></i></div>
438441
<nav class="quarto-secondary-nav">
439442
<div class="container-fluid d-flex">
440443
<button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" role="button" 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(); }">
@@ -623,19 +626,7 @@ <h1 class="title">Hello from quarto-pyodide!</h1>
623626
</header>
624627

625628

626-
<div class="callout callout-style-default callout-important callout-titled">
627-
<div class="callout-header d-flex align-content-center">
628-
<div class="callout-icon-container">
629-
<i class="callout-icon"></i>
630-
</div>
631-
<div class="callout-title-container flex-fill">
632-
Important
633-
</div>
634-
</div>
635-
<div class="callout-body-container callout-body">
636-
<p>Looking for the official Quarto WebAssembly backend? Check out <a href="https://github.com/r-wasm/quarto-live"><code>quarto-live</code></a>!</p>
637-
</div>
638-
</div><p>Welcome to the documentation site for the <a href="https://github.com/coatless-quarto/pyodide"><code>quarto-pyodide</code></a> extension – your key to unlocking the endless possibilities of <a href="https://pyodide.org/en/stable/">Pyodide</a> within various <a href="https://quarto.org/">Quarto</a> formats, including <a href="https://quarto.org/docs/output-formats/html-basics.html">HTML</a>, <a href="https://quarto.org/docs/presentations/revealjs/">RevealJS</a>, <a href="https://quarto.org/docs/websites/">Websites</a>, <a href="https://quarto.org/docs/websites/website-blog.html">Blogs</a>, and <a href="https://quarto.org/docs/books">Books</a>.</p>
629+
<p>Welcome to the documentation site for the <a href="https://github.com/coatless-quarto/pyodide"><code>quarto-pyodide</code></a> extension – your key to unlocking the endless possibilities of <a href="https://pyodide.org/en/stable/">Pyodide</a> within various <a href="https://quarto.org/">Quarto</a> formats, including <a href="https://quarto.org/docs/output-formats/html-basics.html">HTML</a>, <a href="https://quarto.org/docs/presentations/revealjs/">RevealJS</a>, <a href="https://quarto.org/docs/websites/">Websites</a>, <a href="https://quarto.org/docs/websites/website-blog.html">Blogs</a>, and <a href="https://quarto.org/docs/books">Books</a>.</p>
639630
<p>Ready for an exciting journey into the world of Pyodide’s interactive code cells? Click the “Run Code” button below to experience it firsthand:</p>
640631
<div id="qpyodide-insertion-location-1"></div>
641632
<noscript>Please enable JavaScript to experience the dynamic code cell content on this page.</noscript>

0 commit comments

Comments
 (0)