Procházet zdrojové kódy

Edit example code and description for adding a button example

Carol Willing před 8 roky
rodič
revize
89b650aa7d
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      tutorial/notebook.md

+ 3 - 1
tutorial/notebook.md

@@ -136,6 +136,7 @@ import {
 import {
   NotebookActions
 } from '../notebook/notebook/actions';
+
 /**
  * The plugin registration information.
  */
@@ -181,7 +182,8 @@ function activateExtension(app: Application, registry: DocumentRegistry) {
 }
 ```
 
-Then add this extension to the JupyterLab extension list and relaunch JupyterLab:
+Then add this extension to the JupyterLab extensions list in the
+[`index.js` file](../examples/lab/index.js) and relaunch JupyterLab:
 
 ```typescript
     require('jupyterlab/lib/mybutton/plugin').widgetExtension,