Steven Silvester 4 年之前
父节点
当前提交
62db89d466

+ 0 - 9
docs/source/developer/extension_dev.rst

@@ -814,12 +814,3 @@ release process, but this could also be done manually.
 Technically, a package that contains only a JupyterLab extension could be created
 and published on ``conda-forge``, but it would not be discoverable by the JupyterLab
 extension manager.
-
-
-Listings
-^^^^^^^^
-
-You can develop on the extension manager package and :ref:`extension_listings` with the
-example shipped in the ``packages/extensionmanager-extension/examples/listings`` folder.
-
-Follow the ``README.md`` instructions in that folder.

+ 1 - 1
docs/source/getting_started/changelog.rst

@@ -135,7 +135,7 @@ User-facing changes
 ^^^^^^^^^^^^^^^^^^^
 
 * Display the extension manager in the left sidebar by default. Users will need to acknowledge the disclaimer in the extension manager before using it. (`#8050 <https://github.com/jupyterlab/jupyterlab/pull/8050>`__, `#8145 <https://github.com/jupyterlab/jupyterlab/pull/8145>`__)
-* Added :ref:`blacklist and whitelist support <extension_listings>` for the extension manager (`#7989 <https://github.com/jupyterlab/jupyterlab/pull/7989>`__)
+* Added ``blacklist and whitelist support <extension_listings>`` for the extension manager (`#7989 <https://github.com/jupyterlab/jupyterlab/pull/7989>`__)
 
 * Automatically link URLs in notebook output text (`#8075 <https://github.com/jupyterlab/jupyterlab/pull/8075>`__, `#7393 <https://github.com/jupyterlab/jupyterlab/issues/7393>`__)
 * Added a "Restart Kernel and Run All Cells…" button to the notebook toolbar (`#8024 <https://github.com/jupyterlab/jupyterlab/pull/8024>`__)

+ 2 - 1
jupyterlab/tests/test_jupyterlab.py

@@ -95,7 +95,8 @@ class AppHandlerTest(TestCase):
             shutil.copytree(src, dest, ignore=ignore)
 
             # Make a node modules folder so npm install is not called.
-            os.makedirs(pjoin(dest, 'node_modules'))
+            if not os.path.exists(pjoin(dest, 'node_modules')):
+                os.makedirs(pjoin(dest, 'node_modules'))
 
             setattr(self, 'mock_' + name, dest)
             with open(pjoin(dest, 'package.json')) as fid:

+ 1 - 1
scripts/ci_script.sh

@@ -170,7 +170,7 @@ if [[ $GROUP == usage ]]; then
     jupyter labextension uninstall @jupyterlab/notebook-extension --no-build --debug
     # Test with a dynamic install
     pip install -e ./extension
-    jupyter labextension build extension
+    jupyter labextension build mock_package
     jupyter labextension develop mock_package
     jupyter labextension list 1>labextensions 2>&1
     cat labextensions | grep "@jupyterlab/mock-extension.*enabled.*OK"