* Add 'xterm' attribute in py-config using new validation
* Use screen reader mode
* Add `xtermReady` promise to allow users to away xterm.js init
* Guard against initializing a tag twice
* Add tests and doc
* Add new _event_handling.py file with @when decorator
* @when decorate is in pyscript package namespace/_all__
* Write tests in new test_event_handling.py
* Add docs for @when decorator
------------
Co-authored-by: Mariana Meireles <marian.meireles@gmail.com>
The goal of this MR is to unobtrusively allow the usage of `<script type="py">`, `<script type="pyscript">` or `<script type="py-script">` tags instead of `<py-script>` for all those case where the layout in custom elements get parsed and breaks users' expectations (including our SVG based tests).
* remove pys-on* and py-on* attributes
* update changelog
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix eslint
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add docs to repl with attr src
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Allow disabling splashscreen
* Move disabled to if statement
* Add docs for py-splashscreen and test for logging
* Add entry to changelog
* Address Jeff's comments
* Rename disabled option to enabled and set to true by default
* Fix logic and tests
* Uncomment test
* Fix test
* Add beforePyScriptExec, afterPyScriptExec lifecycle hooks
* Add stdiodirector plugin for `output`, `stderr` attributes of py-script tag
* Add docs on `output` and `stderr` attributes of py-script tag
* Tests
* Removed output deprecation warning for `output` attribute
* Add createSingularWarning(), with createDeprecationWarning as alias
* Deprecate pyscript output attribute
* Update code blocks so they work
* Small tweaks to styling and use html to warning
* Fix broken test from bad conflict resolution
* lowercase pyodide
* Rewrite the get started tutorial using the ice cream demo
* Update docs/tutorials/getting-started.md
Co-authored-by: Antonio Cuni <anto.cuni@gmail.com>
* Address Antonio's comments
Co-authored-by: Antonio Cuni <anto.cuni@gmail.com>
* Import current version as PyScript.__version__ and PyScript.version_info
* Add integration, python unit tests
* Mock pyscript.py with __mocks__/pyscript.js to make jest tests happy
* implement proposal
* update docs and replace py-env
* more docs
* suggested proposal
* update docs
* add to_file parameter
* remove comment from Makefile
* suggested improvements
* move tests from basic to py_config
* retain leading slash from the first path
* Reference Docs
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* py-repl
* pyrepl
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* export 'pyscript' JS module with runtime attribute, to allow accessing (Pyodide) runtime and globals from JS.
* add docs to explain the js module
* add integration tests for the js module
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Adding FAQ topic and link from main index
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Adding periods
* fix typo
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Initial setup.
This does a few things:
- Adds some placeholders following the Diátaxis framework (https://diataxis.fr)
- Sets up Sphinx with MyST parser for Markdown in addition to rST.
- Uses the well-known PyData Sphinx theme.
- Moves some already existing Markdown files into the docs directory.
- Sets up the initial doc review GitHub action to auto-deploy to GitHub pages.
* Activate conda env.
* Remove custom action.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Make the dir.
* Push directly
* Add readthedocs config.
* Disable GitHub pages deployment for now.
* Add release and latest workflows as well.
* Make clear that this is work in progress.
* Made docs merge ready, added What is PyScript section with example.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Replace `on:tags:` with `on:create:`
The existing trigger is apparently not in the GHA spec
* Pretty format YAML
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add s3 sync and permissions
* Leave status message in PR.
* Redirect from docs.pyscript.net/ to docs.pyscript.net/latest/
* Delete latest directory before deployment.
* Update review and release workflows, too.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Allow access to S3 for review and release doc workflow.
* Fix name of workflow.
* Bump up Python version.
* Because YAML.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Revert move to 3.10.
* Fix sitemap.
* Remove status settgin from release and latest build.
* Comment out cleanup.
* Add write permissions for statuses.
* More permissions?
* Fix artifact name.
* Use appropriate concurrency.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* .zip not needed
* Align name of workflows with CI workflows.
* Add checks permission.
* Set a notice instead.
* Move to sphinx-design.
* Add sphinx-autobuild.
* Use frontmatter more.
* Add section for mdformat but disable it for now.
See https://github.com/executablebooks/mdformat-myst/pull/9 for more details.
* Fix fencing.
* Actually using html renderer.
* Revert moving governance files.
* Use full URLs for governance docs.
* Added warning.
* Fix copyright and author.
* Another minor fix.
* Use GitHub Action summary instead of notice.
* Fix variable name.
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Matt Kramer <mkramer@anaconda.com>
Co-authored-by: ximena9201 <ximenandrea.ro@gmail.com>