소스 검색

Edit example code and description for adding a button example

Carol Willing 8 년 전
부모
커밋
89b650aa7d
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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,