Skip to content

Commit

Permalink
Merge pull request #3525 from dabuside/dabuside-patch-1
Browse files Browse the repository at this point in the history
add tips
  • Loading branch information
takluyver authored Apr 11, 2018
2 parents f69ce9f + 9936aa9 commit 8d1c92a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/source/extending/frontend_extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,13 @@ 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, by default
it will be loaded on the notebook view only.
There is a corresponding ``disable`` command to stop using an
extension without uninstalling it.

.. versionchanged:: 4.2
Expand Down

0 comments on commit 8d1c92a

Please sign in to comment.