Commit Graph

42 Commits

Author SHA1 Message Date
Hood Chatham 09c7251d56
DOCS minor changes to quickstart (#4098)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-29 17:53:44 +09:00
Loïc Estève 21c4d5c23c
DOC use MyST inline attrs for external links (#3639)
[skip ci]
2023-03-07 18:10:27 +01:00
Hood Chatham 20e92c37ca
DOCS, MAINT: Replace :any: xrefs with more specific types (#3531)
This leads to more consistent rendering (functions and methods get parens after
them) and reduces chances of warnings about getting the wrong link. It is also
possible to use `~fully.quallified.name` to just show `name` if we use a specific
reference type, but it doesn't work with `any` for some reason.
2023-02-01 11:00:58 -08:00
Loïc Estève 16083881eb
Fix Pyodide REPL URL (#3244)
* Fix Pyodide REPL URL

* Use stable URL in quickstart.md

* try relative URL for Pyodide REPL

* use HTML rather than md syntax

* Revert "use HTML rather than md syntax"

This reverts commit e911f17181.

* Fix relative URL

* Use rst trying to avoid myst_parser cleverness

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* [skip ci] trigger CI

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-11-10 15:53:37 +01:00
pre-commit-ci[bot] efcca8be91
[pre-commit.ci] pre-commit autoupdate (#2928) 2022-09-13 15:12:40 -07:00
Hood Chatham cdc59accf3
DOCS Edits and updates (#2756) 2022-06-21 20:15:37 -07:00
Gyeongjae Choi a11f72e145
Simplify the version bump process (#2587) 2022-05-30 10:26:40 +09:00
Hood Chatham 952d9092a9 v0.21.0dev0 2022-04-09 13:50:07 -07:00
Hood Chatham 7a9273dd6c v0.20.0 2022-04-09 13:44:32 -07:00
Hood Chatham 7f908beb4c
ENH Calculate indexURL from error stack trace (#2292)
If no indexURL is provided, we throw and catch an error and
then use ErrorStackParser to calculate where pyodide.js has
been loaded from. Resolves #2290.

Question: But getting the URL from error stack trace is well... really
hacky. Can't we use
[`document.currentScript`](https://developer.mozilla.org/en-US/docs/Web/API/Document/currentScript)
or
[`import.meta.url`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta)
instead?
Answer: `document.currentScript` works for the browser main thread.
`import.meta` works for es6 modules. In a classic webworker, I think there
is no approach that works. Also we would need some third approach for node
when loading a commonjs module using `require`. On the other hand, this
stack trace approach works for every case without any feature detection
code.
2022-03-20 22:44:54 -07:00
Hood Chatham cd1971ca0f Revert "Version 0.19.0 (#2099)"
This reverts commit 276d396fff.
2022-01-10 15:48:30 -08:00
Hood Chatham 276d396fff
Version 0.19.0 (#2099) 2022-01-10 15:17:53 -08:00
Roman Yurchak 20d760ea7c
Typo and grammar fixes (#1959) 2021-11-14 21:47:49 +01:00
Grimmer 89682dabfe
DOC Replace "Javascript" with "JavaScript" in documents and comments [skip ci] (#1860) 2021-09-29 10:01:53 +02:00
Hood Chatham 3e3d6eb8a9
ENH Support PyErr_CheckSignals interrupts (#1294) 2021-09-26 11:53:46 -07:00
Roman Yurchak 2e7ccfc23d
Bump main to 0.19.0dev0 [skip ci] (#1786) 2021-08-11 12:16:48 +02:00
Roman Yurchak e5391ef1a7
DOC Improve documentation on downloading and deploying [skip ci] (#1778) 2021-08-11 12:00:44 +02:00
Hood Chatham 250c48038b
Release 0.18.0 (#1775) 2021-08-03 21:34:14 +02:00
Hood Chatham 6074ca26ca
Some edits to the documentation (#1751) 2021-07-27 06:31:59 +02:00
Hood Chatham ef88ceeb5d
Run prettier to format documentation source files [skip ci] (#1752) 2021-07-27 01:00:27 +02:00
Hood Chatham 962140981a
API Don't expose pyodide as a global variable in loadPyodide (#1597) 2021-05-22 18:54:27 -07:00
Piet Brömmel 64c62bd5c5 DOCS Fix js getting started example code (#1594) [skip ci] 2021-05-19 22:04:53 -07:00
Hood Chatham ffa99153cc
API Remove loadPackagesFromImports from runPythonAsync (#1538) 2021-04-28 08:47:00 +02:00
Roman Yurchak 5a8e235489
Bump main to 0.18.0dev0 (#1523) 2021-04-21 23:19:37 +02:00
Roman Yurchak c49dd7ad5f
Version 0.17.0 (#1515) 2021-04-21 21:51:28 +02:00
Jeremy Tuloup 94c803c87d
DOCS Add "Try it online" section to the docs [skip ci] (#1505) 2021-04-20 09:09:24 -07:00
Roman Yurchak cae11abf78
DOC Make dev documentation consistent + version warnings (#1479)
Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
2021-04-17 19:18:52 +02:00
Hood Chatham 7716755d0e
DOCS Update readme, index and about page, edits to usage docs (#1420) 2021-04-07 00:11:00 +02:00
Hood Chatham 3e36ac2c30
DOCS Documentation about type translation of errors (#1435) 2021-04-06 10:14:07 +02:00
Hood Chatham 150c1f6b45
API Add "loadPyodide" function (#1363)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2021-04-01 00:43:46 +02:00
Roman Yurchak 8ac788c424
DOC Rename repo links under the Pyodide org (#1383) 2021-03-29 10:37:03 +02:00
Roman Yurchak f2d6137673
Deprecate pyodide.pyimport (#1367) 2021-03-24 12:05:00 +01:00
Roman Yurchak fdfc56ffa0
DOC Improve quickstart (#1366)
Co-authored-by: Mireille <mir.mir@gmail.com>
2021-03-23 22:48:50 +01:00
Roman Yurchak afb522ed59
Release 0.17.0a2 (#1356) 2021-03-21 19:03:09 +01:00
Hood Chatham e0966c83b3
Docs textwrap, typo fixes, add links (#1351) 2021-03-20 11:56:10 -07:00
Hood Chatham 29f553cdf6
DOC Update documentation for type translations (#1233) 2021-03-14 11:15:53 +01:00
Mireille Raad 529caac8ef
DOC fix broken link in quickstart (#1302) 2021-03-04 19:25:44 +01:00
Hood Chatham f8bb138fa7
DOC Normalize capitalization of Python, Pyodide, and Javascript (#1297) 2021-03-03 09:11:50 +01:00
Hood Chatham 4d213a6b6e
ENH PyProxy getattr/etc traps & added getitem/etc for PyMappings (#1175) 2021-02-23 20:25:10 +01:00
Hood Chatham 264157a480
Highlight embedded python code in docs (#1252) 2021-02-15 09:38:49 +01:00
Hood Chatham 19ebad28dc
DOC Use sphinx-js for pyodide_js documentation (#1197) 2021-02-06 21:17:57 +01:00
Hood Chatham dbc60a8abf
DOCS: Move docs into three subfolders based on top level sections (#1149) 2021-01-18 20:56:47 +01:00