Skip to content

Commit

Permalink
Deploying to gh-pages from @ 5288269 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 19, 2024
1 parent a1c57fc commit ac31ffe
Show file tree
Hide file tree
Showing 13 changed files with 836 additions and 25 deletions.
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.15">
<meta name="generator" content="quarto-1.5.16">

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


</script>
Expand Down
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.15">
<meta name="generator" content="quarto-1.5.16">

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

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

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

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


</script>
Expand Down Expand Up @@ -500,14 +500,31 @@
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
<a class="sidebar-item-text sidebar-link text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-4" aria-expanded="true">
<span class="menu-text">Extra Information</span></a>
<span class="menu-text">Deployment</span></a>
<a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-4" aria-expanded="true" aria-label="Toggle section">
<i class="bi bi-chevron-right ms-2"></i>
</a>
</div>
<ul id="quarto-sidebar-section-4" class="collapse list-unstyled sidebar-section depth1 show">
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./qpyodide-deployment-templates.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Templates</span></a>
</div>
</li>
</ul>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
<a class="sidebar-item-text sidebar-link text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-5" aria-expanded="true">
<span class="menu-text">Extra Information</span></a>
<a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-5" aria-expanded="true" aria-label="Toggle section">
<i class="bi bi-chevron-right ms-2"></i>
</a>
</div>
<ul id="quarto-sidebar-section-5" class="collapse list-unstyled sidebar-section depth1 show">
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./qpyodide-release-notes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Release Notes</span></a>
</div>
Expand Down
21 changes: 19 additions & 2 deletions qpyodide-acknowledgements.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.15">
<meta name="generator" content="quarto-1.5.16">

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

Expand Down Expand Up @@ -175,14 +175,31 @@
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
<a class="sidebar-item-text sidebar-link text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-4" aria-expanded="true">
<span class="menu-text">Extra Information</span></a>
<span class="menu-text">Deployment</span></a>
<a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-4" aria-expanded="true" aria-label="Toggle section">
<i class="bi bi-chevron-right ms-2"></i>
</a>
</div>
<ul id="quarto-sidebar-section-4" class="collapse list-unstyled sidebar-section depth1 show">
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./qpyodide-deployment-templates.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Templates</span></a>
</div>
</li>
</ul>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
<a class="sidebar-item-text sidebar-link text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-5" aria-expanded="true">
<span class="menu-text">Extra Information</span></a>
<a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-5" aria-expanded="true" aria-label="Toggle section">
<i class="bi bi-chevron-right ms-2"></i>
</a>
</div>
<ul id="quarto-sidebar-section-5" class="collapse list-unstyled sidebar-section depth1 show">
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./qpyodide-release-notes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Release Notes</span></a>
</div>
Expand Down
23 changes: 20 additions & 3 deletions qpyodide-code-cell-demo.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.15">
<meta name="generator" content="quarto-1.5.16">

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

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

// Store cell data
globalThis.qpyodideCellDetails = [{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":1,"code":"1 + 1"},{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":2,"code":"1 + 1"},{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":3,"code":"greet = 'Hello'\ngreet"},{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":4,"code":"len(greet)"},{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":5,"code":"def square(x):\n return x**2\n\nsquare(8)"},{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":6,"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]"},{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":7,"code":"import pandas as pd\n\ndf = pd.DataFrame({\n 'Name': ['JJB', 'H', 'Alex', 'Steve'],\n 'Age': [18, 25, 33, 42]\n})\n\ndf"},{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":8,"code":"import pandas as pd \n\ndf.Age"},{"options":{"comment":"","fig-width":7,"message":"true","dpi":72,"label":"","fig-height":5,"output":"true","classes":"","results":"markup","warning":"true","fig-cap":"","context":"interactive","out-width":"700px","out-height":"","autorun":""},"id":9,"code":"import matplotlib.pyplot as plt\n\nx = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]\n\nplt.plot(x, y)\nplt.show()"}];
globalThis.qpyodideCellDetails = [{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"1 + 1","id":1},{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"1 + 1","id":2},{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"greet = 'Hello'\ngreet","id":3},{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"len(greet)","id":4},{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"def square(x):\n return x**2\n\nsquare(8)","id":5},{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]","id":6},{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"import pandas as pd\n\ndf = pd.DataFrame({\n 'Name': ['JJB', 'H', 'Alex', 'Steve'],\n 'Age': [18, 25, 33, 42]\n})\n\ndf","id":7},{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"import pandas as pd \n\ndf.Age","id":8},{"options":{"results":"markup","warning":"true","autorun":"","classes":"","output":"true","fig-cap":"","message":"true","comment":"","out-width":"700px","fig-width":7,"label":"","fig-height":5,"context":"interactive","out-height":"","dpi":72},"code":"import matplotlib.pyplot as plt\n\nx = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]\n\nplt.plot(x, y)\nplt.show()","id":9}];


</script>
Expand Down Expand Up @@ -534,14 +534,31 @@
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
<a class="sidebar-item-text sidebar-link text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-4" aria-expanded="true">
<span class="menu-text">Extra Information</span></a>
<span class="menu-text">Deployment</span></a>
<a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-4" aria-expanded="true" aria-label="Toggle section">
<i class="bi bi-chevron-right ms-2"></i>
</a>
</div>
<ul id="quarto-sidebar-section-4" class="collapse list-unstyled sidebar-section depth1 show">
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./qpyodide-deployment-templates.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Templates</span></a>
</div>
</li>
</ul>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
<a class="sidebar-item-text sidebar-link text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-5" aria-expanded="true">
<span class="menu-text">Extra Information</span></a>
<a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-5" aria-expanded="true" aria-label="Toggle section">
<i class="bi bi-chevron-right ms-2"></i>
</a>
</div>
<ul id="quarto-sidebar-section-5" class="collapse list-unstyled sidebar-section depth1 show">
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./qpyodide-release-notes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Release Notes</span></a>
</div>
Expand Down
Loading

0 comments on commit ac31ffe

Please sign in to comment.