Skip to content

Commit

Permalink
Add docs about the new labextensions path
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Oct 17, 2024
1 parent 71d6a4f commit 74809a8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/customize.md
Original file line number Diff line number Diff line change
Expand Up @@ -695,3 +695,12 @@ or using `voila.json` file
:::{warning}
Progressive rendering mode is incompatible with the preheated kernels functionality.
:::

## Custom labextension for Voila

Since Voila 0.5.0, it can now load JupyterLab extensions. Allowing to load custom mimetype extensions, JupyterLab themes etc.

Voila will load all extensions under `{PREFIX}/share/jupyter/labextensions` just like JupyterLab and Jupyter Notebook v7.

It also has its own path for labextensions that you can use: `{PREFIX}/share/jupyter/voila/labextensions`. Installing extensions there will make those extensions only available to Voila. This is really useful if you
don't want to pollute JupyterLab or Jupyter Notebook with extensions that only work for Voila.

0 comments on commit 74809a8

Please sign in to comment.