From 15306995e92bc05511a3e6c2de875b612b062ec8 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Thu, 17 Oct 2024 15:28:13 +0200 Subject: [PATCH] Add docs about the new labextensions path --- docs/customize.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/customize.md b/docs/customize.md index 3b5e485ff..f9e53b58a 100644 --- a/docs/customize.md +++ b/docs/customize.md @@ -759,3 +759,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.