From 82ff0fdceb042cfac606dffafb7bbf3e416c2c13 Mon Sep 17 00:00:00 2001 From: dabuside Date: Wed, 11 Apr 2018 10:06:27 +0800 Subject: [PATCH] add tips --- docs/source/extending/frontend_extensions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/extending/frontend_extensions.rst b/docs/source/extending/frontend_extensions.rst index 7a386c15a..c964c64e9 100644 --- a/docs/source/extending/frontend_extensions.rst +++ b/docs/source/extending/frontend_extensions.rst @@ -219,11 +219,11 @@ rather than copying it, so there's no need to reinstall after changes. To use your extension, you'll also need to **enable** it, which tells the notebook interface to load it. You can do that with another command:: - jupyter nbextension enable my_extension/main [--sys-prefix] + jupyter nbextension enable my_extension/main [--sys-prefix|--section='common'] The argument refers to the Javascript module containing your ``load_ipython_extension`` function, which is ``my_extension/main.js`` in this -example. There is a corresponding ``disable`` command to stop using an +example. The ``--section='common'`` argument will affect all pages. There is a corresponding ``disable`` command to stop using an extension without uninstalling it. .. versionchanged:: 4.2