-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide example of how to add your own extension to the distribution #67
Comments
A good example extension for this might be https://github.com/jupyterlab-contrib/jupyterlab-filesystem-access eg in context of jupyterlite/jupyterlite#603 . |
Looks like it's already documented in the README? https://github.com/jupyterlite/demo#deploy-a-new-version-of-jupyterlite |
I tried that locally, adding |
I also note the README for the |
Hmm... so when I add the files to requirements in a demo Github repo site, it works. Does the JupyterLite builder pick up extensions that are installed in a base JupyterLab environment? Could it be looking to the wrong path on my local install for what extensions to include? |
You need to reinstall the dependencies so they are part of the environment. JupyterLite picks them up from the env prefix by default, see the docs: https://jupyterlite.readthedocs.io/en/latest/configuring.html#environment-extensions
There is one: https://jupyterlab-filesystem-access.readthedocs.io/en/latest/#try-it-online
Yes they need to be installed, see the docs: https://jupyterlite.readthedocs.io/en/latest/configuring.html#environment-extensions |
yes, that's what I'm having the issue with locally. My local JupyterLab install is running with extensions and they are not being picked up by JupyterLab. I think there are several paths that extension can sit on and JupyterLite build does not seem to inspect them all? |
The JupyterLite demo currently shows how to add custom content to the site, as well as additional app config settings.
It would be useful for a documented demo of how to add a custom extension, eg from a pre-built wheel.
The text was updated successfully, but these errors were encountered: