Skip to content

Commit

Permalink
Deploying to gh-pages from @ 2021b79 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 22, 2024
1 parent 5520c72 commit 4fd8322
Show file tree
Hide file tree
Showing 21 changed files with 135 additions and 58 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="1708499736778" 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="1708581718895" 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="1708499736774" 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="1708581718895" 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
5 changes: 3 additions & 2 deletions 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 = [{"code":"print(\"Hello {quarto-pyodide} blog world!\")","id":1,"options":{"warning":"true","results":"markup","output":"true","label":"","out-height":"","out-width":"700px","comment":"","fig-width":7,"context":"interactive","message":"true","fig-height":5,"classes":"","fig-cap":"","dpi":72,"autorun":""}}];
globalThis.qpyodideCellDetails = [{"options":{"output":"true","fig-cap":"","message":"true","warning":"true","label":"","comment":"","autorun":"","classes":"","read-only":"false","dpi":72,"out-height":"","fig-width":7,"results":"markup","context":"interactive","fig-height":5,"out-width":"700px"},"id":1,"code":"print(\"Hello {quarto-pyodide} blog world!\")"}];


</script>
Expand Down Expand Up @@ -1135,7 +1135,8 @@ <h1 class="title">Post With Interactive Code</h1>
},
fontSize: '17.5pt', // Bootstrap is 1 rem
renderLineHighlight: "none", // Disable current line highlighting
hideCursorInOverviewRuler: true // Remove cursor indictor in right hand side scroll bar
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
readOnly: thiz.options['read-only'] ?? false
}
);

Expand Down
5 changes: 3 additions & 2 deletions 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 = [{"id":1,"options":{"message":"true","output":"true","autorun":"","fig-height":5,"dpi":72,"results":"markup","classes":"","warning":"true","context":"interactive","out-height":"","fig-cap":"","out-width":"700px","label":"","comment":"","fig-width":7},"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":2,"options":{"message":"true","output":"true","autorun":"","fig-height":5,"dpi":72,"results":"markup","classes":"","warning":"true","context":"interactive","out-height":"","fig-cap":"","out-width":"700px","label":"","comment":"","fig-width":7},"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()"}];
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":{"context":"interactive","autorun":"","classes":"","fig-width":7,"label":"","out-width":"700px","warning":"true","results":"markup","message":"true","output":"true","fig-height":5,"dpi":72,"comment":"","fig-cap":"","read-only":"false","out-height":""}},{"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":{"context":"interactive","autorun":"","classes":"","fig-width":7,"label":"","out-width":"700px","warning":"true","results":"markup","message":"true","output":"true","fig-height":5,"dpi":72,"comment":"","fig-cap":"","read-only":"false","out-height":""}}];


</script>
Expand Down Expand Up @@ -1208,7 +1208,8 @@ <h1 class="title"><span class="chapter-number">2</span>&nbsp; <span class="chapt
},
fontSize: '17.5pt', // Bootstrap is 1 rem
renderLineHighlight: "none", // Disable current line highlighting
hideCursorInOverviewRuler: true // Remove cursor indictor in right hand side scroll bar
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
readOnly: thiz.options['read-only'] ?? false
}
);

Expand Down
9 changes: 5 additions & 4 deletions examples/book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<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-02-21">
<meta name="dcterms.date" content="2024-02-22">

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

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


</script>
Expand Down Expand Up @@ -520,7 +520,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">February 21, 2024</p>
<p class="date">February 22, 2024</p>
</div>
</div>

Expand Down Expand Up @@ -1209,7 +1209,8 @@ <h1 data-number="1"><span class="header-section-number">1</span> Welcome</h1>
},
fontSize: '17.5pt', // Bootstrap is 1 rem
renderLineHighlight: "none", // Disable current line highlighting
hideCursorInOverviewRuler: true // Remove cursor indictor in right hand side scroll bar
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
readOnly: thiz.options['read-only'] ?? false
}
);

Expand Down
5 changes: 3 additions & 2 deletions 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 = [{"code":"print(\"Hello there! Welcome to a quarto-pyodide powered HTML Document!\")","id":1,"options":{"warning":"true","output":"true","context":"interactive","fig-height":5,"autorun":"","fig-cap":"","comment":"","label":"","dpi":72,"message":"true","out-width":"700px","results":"markup","classes":"","fig-width":7,"out-height":""}}];
globalThis.qpyodideCellDetails = [{"code":"print(\"Hello there! Welcome to a quarto-pyodide powered HTML Document!\")","options":{"context":"interactive","read-only":"false","results":"markup","label":"","warning":"true","fig-width":7,"message":"true","fig-cap":"","autorun":"","classes":"","out-height":"","comment":"","output":"true","out-width":"700px","fig-height":5,"dpi":72},"id":1}];


</script>
Expand Down Expand Up @@ -1044,7 +1044,8 @@ <h1>Welcome</h1>
},
fontSize: '17.5pt', // Bootstrap is 1 rem
renderLineHighlight: "none", // Disable current line highlighting
hideCursorInOverviewRuler: true // Remove cursor indictor in right hand side scroll bar
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
readOnly: thiz.options['read-only'] ?? false
}
);

Expand Down
5 changes: 3 additions & 2 deletions 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":{"comment":"","results":"markup","output":"true","label":"","warning":"true","dpi":72,"classes":"","message":"true","out-width":"700px","fig-height":5,"context":"interactive","out-height":"","autorun":"","fig-cap":"","fig-width":7},"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","id":1}];
globalThis.qpyodideCellDetails = [{"id":1,"options":{"warning":"true","output":"true","out-width":"700px","results":"markup","comment":"","out-height":"","context":"interactive","fig-cap":"","message":"true","label":"","autorun":"","classes":"","dpi":72,"fig-width":7,"fig-height":5,"read-only":"false"},"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')"}];


</script>
Expand Down Expand Up @@ -1041,7 +1041,8 @@ <h1 class="title">Pyodide in Quarto HTML Documents</h1>
},
fontSize: '17.5pt', // Bootstrap is 1 rem
renderLineHighlight: "none", // Disable current line highlighting
hideCursorInOverviewRuler: true // Remove cursor indictor in right hand side scroll bar
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
readOnly: thiz.options['read-only'] ?? false
}
);

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


</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_6d1ca212b749c7f85200f9c2d56d3c26a91e335a" 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_975d835e321cac840aad621d9212482576725226" 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 Expand Up @@ -1333,7 +1333,8 @@ <h2>Fin</h2>
},
fontSize: '17.5pt', // Bootstrap is 1 rem
renderLineHighlight: "none", // Disable current line highlighting
hideCursorInOverviewRuler: true // Remove cursor indictor in right hand side scroll bar
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
readOnly: thiz.options['read-only'] ?? false
}
);

Expand Down
5 changes: 3 additions & 2 deletions 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 = [{"options":{"output":"true","autorun":"","dpi":72,"context":"interactive","warning":"true","comment":"","out-height":"","classes":"","message":"true","label":"","fig-width":7,"results":"markup","fig-height":5,"out-width":"700px","fig-cap":""},"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"}];
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":{"context":"interactive","out-height":"","output":"true","fig-height":5,"warning":"true","classes":"","comment":"","message":"true","dpi":72,"fig-cap":"","read-only":"false","autorun":"","label":"","fig-width":7,"out-width":"700px","results":"markup"}}];


</script>
Expand Down Expand Up @@ -1193,7 +1193,8 @@ <h1 class="title">Example page</h1>
},
fontSize: '17.5pt', // Bootstrap is 1 rem
renderLineHighlight: "none", // Disable current line highlighting
hideCursorInOverviewRuler: true // Remove cursor indictor in right hand side scroll bar
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
readOnly: thiz.options['read-only'] ?? false
}
);

Expand Down
5 changes: 3 additions & 2 deletions 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 = [{"options":{"comment":"","fig-width":7,"message":"true","label":"","dpi":72,"autorun":"","output":"true","warning":"true","context":"interactive","fig-cap":"","out-width":"700px","out-height":"","results":"markup","classes":"","fig-height":5},"code":"print(\"Hello there! Welcome to a quarto-pyodide powered website!\")","id":1}];
globalThis.qpyodideCellDetails = [{"code":"print(\"Hello there! Welcome to a quarto-pyodide powered website!\")","id":1,"options":{"dpi":72,"fig-width":7,"label":"","out-height":"","results":"markup","message":"true","warning":"true","classes":"","context":"interactive","output":"true","autorun":"","comment":"","fig-cap":"","fig-height":5,"out-width":"700px","read-only":"false"}}];


</script>
Expand Down Expand Up @@ -1196,7 +1196,8 @@ <h1>Welcome</h1>
},
fontSize: '17.5pt', // Bootstrap is 1 rem
renderLineHighlight: "none", // Disable current line highlighting
hideCursorInOverviewRuler: true // Remove cursor indictor in right hand side scroll bar
hideCursorInOverviewRuler: true, // Remove cursor indictor in right hand side scroll bar
readOnly: thiz.options['read-only'] ?? false
}
);

Expand Down
Loading

0 comments on commit 4fd8322

Please sign in to comment.