From a90fe90592f7400a6bd8dd3e6b68be3086bb47f0 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 10 Feb 2020 10:42:49 +0100 Subject: [PATCH 1/2] Update list of core tokens in extension dev docs --- docs/source/developer/extension_dev.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/developer/extension_dev.rst b/docs/source/developer/extension_dev.rst index e56d7ea2ea10..12b66921e696 100644 --- a/docs/source/developer/extension_dev.rst +++ b/docs/source/developer/extension_dev.rst @@ -419,12 +419,6 @@ might want to use them in your extensions. created by the application. - ``@jupyterlab/console:IContentFactory``: A factory object that creates new code consoles. Use this if you want to create and host code consoles in your own UI elements. -- ``@jupyterlab/coreutils:ISettingRegistry``: An interface to the JupyterLab settings system. - Use this if you want to store settings for your application. - See `extension settings <#extension-settings>`__ for more information. -- ``@jupyterlab/coreutils:IStateDB``: An interface to the JupyterLab state database. - Use this if you want to store data that will persist across page loads. - See `state database <#state-database>`__ for more information. - ``@jupyterlab/docmanager:IDocumentManager``: An interface to the manager for all documents used by the application. Use this if you want to open and close documents, create and delete files, and otherwise interact with the file system. @@ -467,6 +461,12 @@ might want to use them in your extensions. - ``@jupyterlab/settingeditor:ISettingEditorTracker``: A widget tracker for setting editors. Use this if you want to be able to iterate over and interact with setting editors created by the application. +- ``@jupyterlab/settingregistry:ISettingRegistry``: An interface to the JupyterLab settings system. + Use this if you want to store settings for your application. + See `extension settings <#extension-settings>`__ for more information. +- ``@jupyterlab/statedb:IStateDB``: An interface to the JupyterLab state database. + Use this if you want to store data that will persist across page loads. + See `state database <#state-database>`__ for more information. - ``@jupyterlab/statusbar:IStatusBar``: An interface to the status bar on the application. Use this if you want to add new status bar items. - ``@jupyterlab/terminal:ITerminalTracker``: A widget tracker for terminals. From 10f3b57c1aef219a34426d2c00cd8c97e9b5eb39 Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Mon, 10 Feb 2020 10:47:25 +0100 Subject: [PATCH 2/2] Update import for the StateDB example in dev docs --- docs/source/developer/extension_dev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/developer/extension_dev.rst b/docs/source/developer/extension_dev.rst index 12b66921e696..3e665397f926 100644 --- a/docs/source/developer/extension_dev.rst +++ b/docs/source/developer/extension_dev.rst @@ -543,7 +543,7 @@ State Database `````````````` The state database can be accessed by importing ``IStateDB`` from -``@jupyterlab/coreutils`` and adding it to the list of ``requires`` for +``@jupyterlab/statedb`` and adding it to the list of ``requires`` for a plugin: .. code:: typescript