Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions docs/source/examples/Widget Custom.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,26 @@
"\n",
"You also need to enable the widget frontend extension.\n",
"\n",
"If you are using JupyterLab 2.x:\n",
"If you are using JupyterLab 3.x:\n",
"\n",
"\n",
"```bash\n",
"# link your development version of the extension with JupyterLab\n",
"jupyter labextension develop . --overwrite\n",
"\n",
"# rebuild extension Typescript source after making changes\n",
"jlpm run build\n",
"```\n",
"\n",
"It is also possible to rebuild the widget automatically when there is a new change, using the `watch` script:\n",
"\n",
"```bash\n",
"# watch the source directory in one terminal, automatically rebuilding when needed\n",
"jlpm run watch\n",
"```\n",
"\n",
"\n",
"If you are using JupyterLab 2.x, you will need to install the `@jupyter-widgets/jupyterlab-manager` extension manually:\n",
"\n",
"```bash\n",
"# install the widget manager to display the widgets in JupyterLab\n",
Expand Down Expand Up @@ -802,5 +821,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}