Skip to content

Commit

Permalink
fix #11117 - typo in docs: page_config.json (#11152)
Browse files Browse the repository at this point in the history
  • Loading branch information
achimgaedke committed Sep 27, 2021
1 parent 776fee9 commit c6b14b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/source/user/directories.rst
Expand Up @@ -117,7 +117,7 @@ against the patterns in ``disabledExtensions`` and ``deferredExtensions``.
``"@jupyterlab/apputils-extension:set.*$"``),
then that specific plugin is disabled (or deferred).

An example ``<jupyter_config_path>/labconfig/pageconfig.json`` could look as follows:
An example ``<jupyter_config_path>/labconfig/page_config.json`` could look as follows:

.. code:: json
Expand Down
6 changes: 3 additions & 3 deletions docs/source/user/extensions.rst
Expand Up @@ -186,13 +186,13 @@ Extensions or individual plugins within an extension can be disabled by another

The priority order for determining whether an extension is enabled or disabled is as follows:

- Presence of ``<jupyter_config_path>/labconfig/pageconfig.json`` file(s) with a ``disabledExtensions`` key that is a object with package names as keys and boolean values.
- (deprecated) Presence of ``disabledExtensions`` key in ``<lab_app_dir>/settings/pageconfig.json``. This value is a list of extensions to disable, but is deprecated in favor of the layered configuration approach in the `labconfig` location(s).
- Presence of ``<jupyter_config_path>/labconfig/page_config.json`` file(s) with a ``disabledExtensions`` key that is a object with package names as keys and boolean values.
- (deprecated) Presence of ``disabledExtensions`` key in ``<lab_app_dir>/settings/page_config.json``. This value is a list of extensions to disable, but is deprecated in favor of the layered configuration approach in the `labconfig` location(s).
- Presence of ``disabledExtensions`` key in another JupyterLab extension's metadata that disables a given extension. The key is ignored if that extension itself is disabled.

When using the command line, you can target the ``--level`` of the config: ``user``, ``system``, or ``sys-prefix`` (default).

An example ``<jupyter_config_path>/labconfig/pageconfig.json`` could look as follows:
An example ``<jupyter_config_path>/labconfig/page_config.json`` could look as follows:

.. code:: json
Expand Down

0 comments on commit c6b14b6

Please sign in to comment.