|
1 |
| -Migrating to Notebook 7 |
2 |
| -======================= |
| 1 | +# Migrating to Notebook 7 |
3 | 2 |
|
4 |
| -Build Jupyter Notebook v7 off of JupyterLab components |
5 |
| -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 | +## Build Jupyter Notebook v7 off of JupyterLab components |
6 | 4 |
|
7 | 5 | Read more details about the changes currently taking place in the
|
8 |
| -Jupyter Ecosystem in the `JEP 79`_ and `team-compass note`_. |
| 6 | +Jupyter Ecosystem in the [JEP 79] and [team-compass note]. |
9 | 7 |
|
10 | 8 | Notebook 7 is built on top of JupyterLab components and delivers new features
|
11 | 9 | like realtime collaboration, debugger, theming.
|
12 | 10 |
|
13 |
| -Compatibility with older versions |
14 |
| -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 11 | +## Compatibility with older versions |
15 | 12 |
|
16 |
| -Any extension developed for Notebook < 7 or NbClassic will not be |
| 13 | +Any extension developed for Notebook \< 7 or NbClassic will not be |
17 | 14 | compatible with Notebook 7 and upwards.
|
18 | 15 |
|
19 | 16 | Some extensions like nbgrader have already been ported. We invite you to
|
20 | 17 | check if the extensions you are using have already been ported.
|
21 | 18 |
|
22 |
| -Simulaneous usage of different versions |
23 |
| -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 19 | +## Simulaneous usage of different versions |
24 | 20 |
|
25 | 21 | **NbClassic and Notebook 7**
|
26 | 22 |
|
27 | 23 | You can install NbClassic, Notebook 7 and JupyterLab, all three of
|
28 | 24 | which will provide different user interfaces
|
29 | 25 | on the same server. When Notebook 7 is available, the NbClassic UI, will
|
30 |
| -be served at the ``/nbclassic/tree`` base path rather than the |
31 |
| -base path ``/tree`` used otherwise. If you are using Notebook 7 along |
| 26 | +be served at the `/nbclassic/tree` base path rather than the |
| 27 | +base path `/tree` used otherwise. If you are using Notebook 7 along |
32 | 28 | with NbClassic, you will also have JupyterLab installed as it is a
|
33 | 29 | dependency of Notebook 7, and these front ends will be available
|
34 |
| -through the following base paths: JupyterLab at ``/lab``, Notebook 7 at |
35 |
| -``/tree``, and NbClassic at ``/nbclassic/tree``. |
| 30 | +through the following base paths: JupyterLab at `/lab`, Notebook 7 at |
| 31 | +`/tree`, and NbClassic at `/nbclassic/tree`. |
36 | 32 |
|
37 | 33 | **NbClassic and Notebook 6.5.x**
|
38 | 34 |
|
39 | 35 | As NbClassic provides the static assets for Notebook 6.5.x, while
|
40 | 36 | having both installed should cause no issues, the user interface provided
|
41 | 37 | by these two packages will be the same. These UIs will be served by
|
42 | 38 | different back end servers. An NbClassic instance will be at a server with the
|
43 |
| -``/tree`` path and opening a Notebook 6.5.x instance will open on a |
44 |
| -different server with the ``/tree`` path as well, presenting the same |
| 39 | +`/tree` path and opening a Notebook 6.5.x instance will open on a |
| 40 | +different server with the `/tree` path as well, presenting the same |
45 | 41 | static assets. When starting an instance of JupyterLab you will be able
|
46 | 42 | to access the classic view of Notebook with NbClassic served on the same
|
47 |
| -server at ``/tree``. |
| 43 | +server at `/tree`. |
48 | 44 |
|
49 |
| -**NbClassic and Notebook <= 6.4.x** |
| 45 | +**NbClassic and Notebook \<= 6.4.x** |
50 | 46 |
|
51 |
| -When using NbClassic and Notebook <= 6.4.x you can expect that these UIs |
| 47 | +When using NbClassic and Notebook \<= 6.4.x you can expect that these UIs |
52 | 48 | will not be only presented at different servers, meaning they will both
|
53 |
| -be available at their respective server under ``/tree`` but they |
| 49 | +be available at their respective server under `/tree` but they |
54 | 50 | may also differ as potential changes to the NbClassic UI will not be
|
55 |
| -reflected in Notebook versions <= 6.4.x. In this case as well, you would |
| 51 | +reflected in Notebook versions \<= 6.4.x. In this case as well, you would |
56 | 52 | be able to access the classic view of Notebook with NbClassic served on
|
57 |
| -the same server, at ``/tree``. |
| 53 | +the same server, at `/tree`. |
58 | 54 |
|
59 | 55 | **NbClassic and JupyterLab 3.x**
|
60 | 56 |
|
61 | 57 | When only JupyterLab 3.x is installed, then NbClassic does not have to be
|
62 | 58 | explicitly installed as JupyterLab 3.x depends on it. They will run on
|
63 |
| -the same server, and are reachable via ``/tree`` for NbClassic and |
64 |
| -``/lab`` for JupyterLab. |
| 59 | +the same server, and are reachable via `/tree` for NbClassic and |
| 60 | +`/lab` for JupyterLab. |
65 | 61 |
|
66 | 62 | **NbClassic and JupyterLab 4.x**
|
67 | 63 |
|
68 | 64 | When only JupyterLab 4.x is installed, then NbClassic has to be installed
|
69 | 65 | explictly. They will run on the same server, and are reachable via
|
70 |
| -``/tree`` for NbClassic, and ``/lab`` for JupyterLab. |
| 66 | +`/tree` for NbClassic, and `/lab` for JupyterLab. |
71 | 67 |
|
72 | 68 | **NbClassic Independently**
|
73 | 69 |
|
74 |
| -When you choose to install only NbClassic via ``pip install nbclassic``, |
75 |
| -the classic Notebook UI will be presented at the ``/tree`` path. As the |
| 70 | +When you choose to install only NbClassic via `pip install nbclassic`, |
| 71 | +the classic Notebook UI will be presented at the `/tree` path. As the |
76 | 72 | other frontends are not installed, attempting to access the other paths
|
77 | 73 | will return errors. Note that NbClassic being a Jupyter Server extension,
|
78 | 74 | indicated Jupyter Server will be available. This provides an additional
|
79 |
| -way to view the NbClassic frontend. You would be able to manually |
| 75 | +way to view the NbClassic frontend. You would be able to manually |
80 | 76 | enable the extension when running an instance of Jupyter Server,
|
81 |
| -``> jupyter server --ServerApp.jpserver_extensions="nbclassic=True"``, |
82 |
| -which will provide the NbClassic frontend at ``/tree`` path when visited. |
| 77 | +`> jupyter server --ServerApp.jpserver_extensions="nbclassic=True"`, |
| 78 | +which will provide the NbClassic frontend at `/tree` path when visited. |
83 | 79 |
|
84 |
| -.. _JEP 79: https://jupyter.org/enhancement-proposals/79-notebook-v7/notebook-v7.html |
85 |
| -.. _team-compass note: https://github.com/jupyter/notebook-team-compass/issues/5#issuecomment-1085254000 |
| 80 | +[jep 79]: https://jupyter.org/enhancement-proposals/79-notebook-v7/notebook-v7.html |
| 81 | +[team-compass note]: https://github.com/jupyter/notebook-team-compass/issues/5#issuecomment-1085254000 |
0 commit comments