Galleries take a collection of notebook and .py script files and then execute them using the nbsite notebook directive. More recently we added the pyodide directive to nbsite which allows running the code inline in the docs using pyodide. Instead of migrating all our examples to Markdown files that use the pyodide directive this PR auto-converts them and then executes them using the directive.
[x] Fix issues sorting examples
[x] Add support for linking to jupyterlite output
[x] Handle errors when rendering pyodide output and frozen subprocesses
Galleries take a collection of notebook and
.py
script files and then execute them using the nbsitenotebook
directive. More recently we added thepyodide
directive to nbsite which allows running the code inline in the docs using pyodide. Instead of migrating all our examples to Markdown files that use the pyodide directive this PR auto-converts them and then executes them using the directive.