Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2d9be69 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 20, 2024
1 parent 64ce74c commit cba9c3a
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 20 deletions.
4 changes: 2 additions & 2 deletions examples/blog/index.html
Original file line number Diff line number Diff line change
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="1708393589561" 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="1708393756128" 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 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="1708393589561" 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="1708393756128" 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 src="./posts/embed-slides/image.jpg" class="thumbnail-image"></p>
Expand Down
2 changes: 1 addition & 1 deletion examples/blog/posts/post-with-code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
}

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


</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/book/example-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
}

// Store cell data
globalThis.qpyodideCellDetails = [{"options":{"message":"true","results":"markup","context":"interactive","comment":"","label":"","fig-height":5,"output":"true","fig-width":7,"autorun":"","fig-cap":"","warning":"true","dpi":72,"out-width":"700px","classes":"","out-height":""},"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":{"message":"true","results":"markup","context":"interactive","comment":"","label":"","fig-height":5,"output":"true","fig-width":7,"autorun":"","fig-cap":"","warning":"true","dpi":72,"out-width":"700px","classes":"","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}];
globalThis.qpyodideCellDetails = [{"id":1,"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":{"message":"true","comment":"","context":"interactive","results":"markup","fig-height":5,"label":"","fig-cap":"","output":"true","classes":"","out-height":"","warning":"true","fig-width":7,"autorun":"","out-width":"700px","dpi":72}},{"id":2,"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":{"message":"true","comment":"","context":"interactive","results":"markup","fig-height":5,"label":"","fig-cap":"","output":"true","classes":"","out-height":"","warning":"true","fig-width":7,"autorun":"","out-width":"700px","dpi":72}}];


</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
}

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


</script>
Expand Down
3 changes: 0 additions & 3 deletions examples/book/slide-embed.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,6 @@ <h2 data-number="3.1" class="anchored" data-anchor-id="presentation"><span class
</style>
<div>

<iframe class="slide-deck" src="../revealjs/"></iframe>
</div>
<div>
<iframe class="slide-deck" src="../revealjs/"></iframe>
</div>
</section>
Expand Down
2 changes: 1 addition & 1 deletion examples/html-document/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
}

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


</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/readme/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
}

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


</script>
Expand Down
4 changes: 2 additions & 2 deletions examples/revealjs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@
}

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


</script>
Expand Down Expand Up @@ -686,7 +686,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_00e1768665bceb774a14f4737ba951b657921b9b" 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_2be4a5788dbecff3544e9b02d04c1840e0197684" 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
2 changes: 1 addition & 1 deletion examples/website/example-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
}

// Store cell data
globalThis.qpyodideCellDetails = [{"id":1,"options":{"out-width":"700px","label":"","dpi":72,"out-height":"","results":"markup","message":"true","output":"true","autorun":"","context":"interactive","comment":"","fig-cap":"","classes":"","fig-width":7,"fig-height":5,"warning":"true"},"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"}];
globalThis.qpyodideCellDetails = [{"id":1,"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":{"warning":"true","classes":"","fig-cap":"","results":"markup","comment":"","message":"true","out-height":"","label":"","context":"interactive","output":"true","autorun":"","fig-width":7,"dpi":72,"fig-height":5,"out-width":"700px"}}];


</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
}

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


</script>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
}

// Store cell data
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":{"fig-cap":"","output":"true","out-width":"700px","warning":"true","autorun":"","message":"true","out-height":"","comment":"","fig-height":5,"classes":"","context":"interactive","fig-width":7,"label":"","dpi":72,"results":"markup"}}];
globalThis.qpyodideCellDetails = [{"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":{"results":"markup","message":"true","comment":"","warning":"true","autorun":"","label":"","classes":"","fig-width":7,"fig-height":5,"out-height":"","dpi":72,"fig-cap":"","context":"interactive","output":"true","out-width":"700px"},"id":1}];


</script>
Expand Down
Loading

0 comments on commit cba9c3a

Please sign in to comment.