Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit 0da0c11

Browse files
authored
Merge pull request #28 from martinRenou/improve_docs
Improve docs
2 parents 3317661 + 2af1f5a commit 0da0c11

File tree

4 files changed

+18
-11
lines changed

4 files changed

+18
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# jupyterlite-xeus-python-kernel
1+
# jupyterlite-xeus-python
22

33
[![ci-badge]][ci] [![docs-badge]][docs]
44

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
master_doc = 'index'
88
source_suffix = '.rst'
99

10-
project = 'xeus-python-kernel'
10+
project = 'jupyterlite-xeus-python'
1111
copyright = 'JupyterLite Team'
1212
author = 'JupyterLite Team'
1313

docs/configuration.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ Requirements
1313

1414
This feature requires you to have at least ``conda``, `mamba <https://github.com/mamba-org/mamba>`_ or ``micromamba`` installed.
1515

16-
You also need to install ``emsdk``, this can be done by installing it from ``conda-forge``:
16+
You also need to install ``empack``, this can be done by installing it from ``conda-forge``:
1717

1818
.. code::
1919
20-
conda install -c conda-forge emsdk
20+
conda install -c conda-forge empack
2121
2222
# OR
2323
24-
mamba install -c conda-forge emsdk
24+
mamba install -c conda-forge empack
2525
2626
# OR
2727
28-
micromamba install -c conda-forge emsdk
28+
micromamba install -c conda-forge empack
2929
3030
Usage
3131
~~~~~
@@ -35,13 +35,13 @@ You can pre-install packages by passing the ``XeusPythonEnv.packages`` CLI optio
3535
.. note::
3636
This will automatically install any labextension that it founds, for example installing ipyleaflet will make ipyleaflet work without the need to manually install the jupyter-leaflet labextension.
3737

38-
For example, say you want to install NumPy, Matplotlib and ipyleaflet, it can be done with the following command:
38+
For example, say you want to install ``NumPy``, ``Matplotlib`` and ``ipyleaflet``, it can be done with the following command:
3939

4040
.. code::
4141
4242
jupyter lite build --XeusPythonEnv.packages=numpy,matplotlib,ipyleaflet
4343
44-
The same can be achieved through a `jupyterlite_config.json` file:
44+
The same can be achieved through a ``jupyterlite_config.json`` file:
4545

4646
.. code::
4747

docs/index.rst

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
xeus-python in JupyterLite
2-
==========================
1+
xeus-python in JupyterLite 🚀🪐
2+
===============================
33

44
The `xeus-python <https://github.com/jupyter-xeus/xeus-python>`_ kernel compiled to wasm and installable in JupyterLite!!
55

@@ -9,8 +9,15 @@ Features:
99
- code completion
1010
- code inspection
1111
- interactive widgets (ipywidgets, ipyleaflet, bqplot, ipycanvas `etc`)
12+
- JupyterLite custom file-system mounting
13+
14+
How does it compare with JupyterLite's ``Pyolite``?
15+
1216
- ``from time import sleep`` works!
13-
- pre-installed packages: you can install the packages you want in your xeus-python lite installation (see :ref:`configuration` page)
17+
- starts faster!
18+
- it's lighter by default!
19+
- pre-installed packages! No more piplite (see :ref:`configuration` page)
20+
- no more piplite, but we will be working on a mambalite, stay stuned :D
1421

1522
.. replite::
1623
:kernel: xeus-python

0 commit comments

Comments
 (0)