Skip to content

Commit 74809a8

Browse files
committed
Add docs about the new labextensions path
1 parent 71d6a4f commit 74809a8

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
@@ -695,3 +695,12 @@ or using `voila.json` file
695695
:::{warning}
696696
Progressive rendering mode is incompatible with the preheated kernels functionality.
697697
:::
698+
699+
## Custom labextension for Voila
700+
701+
Since Voila 0.5.0, it can now load JupyterLab extensions. Allowing to load custom mimetype extensions, JupyterLab themes etc.
702+
703+
Voila will load all extensions under `{PREFIX}/share/jupyter/labextensions` just like JupyterLab and Jupyter Notebook v7.
704+
705+
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
706+
don't want to pollute JupyterLab or Jupyter Notebook with extensions that only work for Voila.

0 commit comments

Comments
 (0)