Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/672 #673

Merged
merged 4 commits into from
Aug 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/swift-apes-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'thebe-react': patch
'thebe-core': patch
'thebe-lite': patch
'demo-simple': patch
---

Updated `@jupyterlite/pyodide-kernel` and other `@jupyterlite` deps to `0.1.0`
18 changes: 9 additions & 9 deletions apps/simple/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
{
"litePluginSettings": {
"@jupyterlite/pyodide-kernel-extension:kernel": {
"pipliteUrls": ["https://unpkg.com/@jupyterlite/pyodide-kernel@0.0.8/pypi/all.json"],
"pipliteWheelUrl": "https://unpkg.com/@jupyterlite/pyodide-kernel@0.0.8/pypi/piplite-0.0.8-py3-none-any.whl"
"pipliteUrls": ["https://unpkg.com/@jupyterlite/pyodide-kernel@0.1.0/pypi/all.json"],
"pipliteWheelUrl": "https://unpkg.com/@jupyterlite/pyodide-kernel@0.1.0/pypi/piplite-0.1.0-py3-none-any.whl"
}
},
"enableMemoryStorage": true,
Expand Down Expand Up @@ -53,7 +53,7 @@
</style>
</head>
<body class="font-sans">
<div class="prose max-w-3xl mx-auto my-4">
<div class="max-w-3xl mx-auto my-4 prose">
<div><img class="mx-auto" src="./thebe_wide_logo.png" /></div>
<h1>Simple Demos</h1>
<div>
Expand Down Expand Up @@ -83,7 +83,7 @@ <h2>Configuration</h2>
<a href="https://mybinder.org" target="_blank" rel="no-referrer">mybinder.org</a> service.
</p>
<p>Configuration for <code>jupyterlite</code> is simply:</p>
<pre class="bg-gray-200 text-black">
<pre class="text-black bg-gray-200">
<&zwj;script type="text/x-thebe-config">
{
useBinder: false,
Expand All @@ -99,7 +99,7 @@ <h2>Thebe's Default UI</h2>
By adding the following tags to the page, once loaded, <code>thebe</code> will add default
UI elements to the page (these are customisable by css).
</p>
<pre class="bg-gray-200 text-black">
<pre class="text-black bg-gray-200">
<&zwj;div class="thebe-activate"><&zwj;/div>
<&zwj;div class="thebe-status"><&zwj;/div></pre
>
Expand All @@ -123,9 +123,9 @@ <h2>Thebe's Default UI</h2>
>ipywidgets documentation</a
>.
</p>
<div class="not-prose text-sm">
<div class="text-sm not-prose">
<pre
class="text-sm bg-black text-white rounded-lg p-4"
class="p-4 text-sm text-white bg-black rounded-lg"
data-executable="true"
data-language="python"
>
Expand Down Expand Up @@ -250,14 +250,14 @@ <h2>Running a local jupyter server</h2>
>requirements.txt file here</a
>.
</p>
<pre class="bg-gray-200 text-black">
<pre class="text-black bg-gray-200">
python -m venv thebe-env
source thebe-env/bin/activate
python -m pip install -r requirements.txt
python -m pip install jupyterlab</pre
>
<p>Then start a jupyter server using the command:</p>
<pre class="bg-gray-200 text-black">
<pre class="text-black bg-gray-200">
jupyter lab --NotebookApp.token=test-secret --NotebookApp.allow_origin='*'</pre
>
</div>
Expand Down
4 changes: 2 additions & 2 deletions apps/simple/static/ipywidgets-lite.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
{
"litePluginSettings": {
"@jupyterlite/pyodide-kernel-extension:kernel": {
"pipliteUrls": ["https://unpkg.com/@jupyterlite/pyodide-kernel@0.0.8/pypi/all.json"],
"pipliteWheelUrl": "https://unpkg.com/@jupyterlite/pyodide-kernel@0.0.8/pypi/piplite-0.0.8-py3-none-any.whl"
"pipliteUrls": ["https://unpkg.com/@jupyterlite/pyodide-kernel@0.1.0/pypi/all.json"],
"pipliteWheelUrl": "https://unpkg.com/@jupyterlite/pyodide-kernel@0.1.0/pypi/piplite-0.1.0-py3-none-any.whl"
}
},
"enableMemoryStorage": true,
Expand Down
4 changes: 2 additions & 2 deletions apps/simple/static/lite.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
{
"litePluginSettings": {
"@jupyterlite/pyodide-kernel-extension:kernel": {
"pipliteUrls": ["https://unpkg.com/@jupyterlite/pyodide-kernel@0.0.8/pypi/all.json"],
"pipliteWheelUrl": "https://unpkg.com/@jupyterlite/pyodide-kernel@0.0.8/pypi/piplite-0.0.8-py3-none-any.whl"
"pipliteUrls": ["https://unpkg.com/@jupyterlite/pyodide-kernel@0.1.0/pypi/all.json"],
"pipliteWheelUrl": "https://unpkg.com/@jupyterlite/pyodide-kernel@0.1.0/pypi/piplite-0.1.0-py3-none-any.whl"
}
},
"enableMemoryStorage": true,
Expand Down
Loading