Explorar o código

Edit example code and description for adding a button example

Carol Willing %!s(int64=8) %!d(string=hai) anos
pai
achega
89b650aa7d
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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,