-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,26 +13,23 @@ Most users do not need to install this extension, since it is already included i | |
|
||
Please install [Jupytext](https://github.com/mwouts/jupytext/blob/main/README.md#Install) first. As mentioned above, both the `pip` and `conda` packages do include the latest version of the JupyterLab extension, so in most cases you don't need to specifically install this `npm` package. | ||
|
||
In case you're not using JupyterLab 3.x, you will have to install an older version of the extension that is compatible with your version. Please first install `jupytext` using `pip` or `conda`, and then downgrade the extension to a version compatible with your version of Jupyter Lab with: | ||
In case you're not using JupyterLab 4.x, you will have to install an older version of the extension that is compatible with your version. Please first install `jupytext` using `pip` or `conda`, and then downgrade the extension to a version compatible with your version of Jupyter Lab with: | ||
|
||
```bash | ||
jupyter labextension install [email protected] # for JupyterLab 3.x | ||
jupyter labextension install [email protected] # for JupyterLab 2.x | ||
jupyter labextension install [email protected] # for JupyterLab 1.x | ||
``` | ||
|
||
# How to develop this extension | ||
|
||
We assume that you have activated the conda environment described in [CONTRIBUTING.md](https://github.com/mwouts/jupytext/blob/main/CONTRIBUTING.md). | ||
|
||
Then you can rebuild the Jupytext python package (with `python -m build`) and reinstall it (`pip install dist/jupytext-x.x.x-py3-none-any.whl`). | ||
|
||
Alternatively, if you prefer to develop iteratively, you could install a development version of the extension with | ||
|
||
Please follow the instructions at [developing.md](../../../docs/developing.md), i.e. | ||
create a Python environment with a recent version of `nodejs`, and install | ||
a development version of Jupytext by running | ||
```bash | ||
jupyter labextension develop . --overwrite | ||
pip install -e '.[dev]' | ||
``` | ||
|
||
Read more on this on the [JupyterLab documentation](https://jupyterlab.readthedocs.io/en/latest/extension/extension_dev.html#developing-a-prebuilt-extension). | ||
at the root of the Jupytext repository. | ||
|
||
# How to publish a new version of the extension on npm | ||
|
||
|