From 82703a67c35dc4dd5532397737c858862f9d062f Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Fri, 9 Jun 2023 09:15:38 +0200 Subject: [PATCH] Document how to manage plugins and extensions (#6909) * Add docs for plugins * fix some wording --- docs/source/configuration.md | 3 ++- .../{ => configuring}/config_overview.md | 0 docs/source/configuring/plugins.md | 21 +++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) rename docs/source/{ => configuring}/config_overview.md (100%) create mode 100644 docs/source/configuring/plugins.md diff --git a/docs/source/configuration.md b/docs/source/configuration.md index 108bb1acd..801557a33 100644 --- a/docs/source/configuration.md +++ b/docs/source/configuration.md @@ -4,7 +4,8 @@ :caption: Configuration :maxdepth: 1 -config_overview +configuring/config_overview +configuring/plugins Security extending/index.rst ``` diff --git a/docs/source/config_overview.md b/docs/source/configuring/config_overview.md similarity index 100% rename from docs/source/config_overview.md rename to docs/source/configuring/config_overview.md diff --git a/docs/source/configuring/plugins.md b/docs/source/configuring/plugins.md new file mode 100644 index 000000000..8a881a1aa --- /dev/null +++ b/docs/source/configuring/plugins.md @@ -0,0 +1,21 @@ +# Managing plugins + +Notebook 7 uses the same extension system as JupyterLab. An extension can provide multiple plugins. + +```{note} +See the [JupyterLab documentation](https://jupyterlab.readthedocs.io/en/latest/user/extensions.html) to learn more about the extension system. +``` + +## Examples + +### Disabling the download button + +By default Notebook 7 provides a way to download files from the file browser. This functionality consists of a context menu entry and a main menu entry. They are provided by an application plugin that can be disabled. + +To disable the download entry of file browser context menus, open a terminal and run the following command: + +```text +jupyter labextension disable @jupyterlab/filebrowser-extension:download +``` + +Then restart the application and refresh the page.