mirror of https://github.com/pyodide/pyodide.git
v0.21.0dev0
This commit is contained in:
parent
7a9273dd6c
commit
952d9092a9
|
@ -130,7 +130,7 @@ except ImportError:
|
|||
IN_READTHEDOCS = "READTHEDOCS" in os.environ
|
||||
|
||||
if IN_READTHEDOCS:
|
||||
env = {"PYODIDE_BASE_URL": "https://cdn.jsdelivr.net/pyodide/v0.20.0/full/"}
|
||||
env = {"PYODIDE_BASE_URL": "https://cdn.jsdelivr.net/pyodide/dev/full/"}
|
||||
os.makedirs("_build/html", exist_ok=True)
|
||||
res = subprocess.check_output(
|
||||
["make", "-C", "..", "docs/_build/html/console.html"],
|
||||
|
|
|
@ -12,7 +12,7 @@ Pyodide with {any}`loadPyodide <globalThis.loadPyodide>` specifying an index URL
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -134,7 +134,7 @@ installs from PyPI.
|
|||
<body>
|
||||
<script
|
||||
type="text/javascript"
|
||||
src="https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js"
|
||||
src="https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js"
|
||||
></script>
|
||||
<script type="text/javascript">
|
||||
async function main() {
|
||||
|
|
|
@ -11,7 +11,7 @@ Try Pyodide in a [REPL](https://pyodide.org/en/latest/console.html) directly in
|
|||
To include Pyodide in your project you can use the following CDN URL:
|
||||
|
||||
```text
|
||||
https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js
|
||||
https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js
|
||||
```
|
||||
|
||||
You can also download a release from [GitHub
|
||||
|
@ -60,7 +60,7 @@ Create and save a test `index.html` page with the following contents:
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
Pyodide test page <br>
|
||||
|
@ -86,7 +86,7 @@ Create and save a test `index.html` page with the following contents:
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -105,7 +105,7 @@ shown below:
|
|||
// Setup your project to serve `py-worker.js`. You should also serve
|
||||
// `pyodide.js`, and all its associated `.asm.js`, `.data`, `.json`,
|
||||
// and `.wasm` files as well:
|
||||
importScripts("https://cdn.jsdelivr.net/pyodide/v0.20.0/full/pyodide.js");
|
||||
importScripts("https://cdn.jsdelivr.net/pyodide/dev/full/pyodide.js");
|
||||
|
||||
async function loadPyodideAndPackages() {
|
||||
self.pyodide = await loadPyodide();
|
||||
|
|
Loading…
Reference in New Issue