You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jlpm command is JupyterLab's pinned version of
yarn that is installed with JupyterLab. You may use
yarn or npm in lieu of jlpm below.
# Clone the repo to your local environment
git clone https://github.com/jupyterlab/jupyter-renderers.git
cd jupyter-renderers
# install the fasta extensioncd packages/fasta-extension
# Install package in development mode
pip install -e .# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild the extensions TypeScript source after making changes
jlpm run build
Rebuilding extensions
After making changes to the source packages, the packages must be rebuilt:
# Rebuild all the extensions at once
jlpm run build
# To rebuilt a particular extension, for example the fasta extensioncd packages/fasta-extension
jlpm run build
You may also watch a particular extension directory for changes and automatically rebuild:
# In one terminal tab, watch the jupyter-fasta directorycd packages/fasta-extension
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab
To create a JupyterLab icon for a new MIME or file type, you can use the Sketch
file in this repo or fork the file on
Figma
and export your icon as an SVG. See the GeoJSON icon for reference.