Skip to content

Commit 1530699

Browse files
committed
Add docs about the new labextensions path
1 parent 100d08d commit 1530699

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/customize.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,3 +759,12 @@ or using `voila.json` file
759759
:::{warning}
760760
Progressive rendering mode is incompatible with the preheated kernels functionality.
761761
:::
762+
763+
## Custom labextension for Voila
764+
765+
Since Voila 0.5.0, it can now load JupyterLab extensions. Allowing to load custom mimetype extensions, JupyterLab themes etc.
766+
767+
Voila will load all extensions under `{PREFIX}/share/jupyter/labextensions` just like JupyterLab and Jupyter Notebook v7.
768+
769+
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
770+
don't want to pollute JupyterLab or Jupyter Notebook with extensions that only work for Voila.

0 commit comments

Comments
 (0)