Skip to content

Commit 8e5232e

Browse files
authored
Merge pull request #196 from RRosio/docs-update
Update documentation
2 parents c46151b + 6e10282 commit 8e5232e

File tree

2 files changed

+58
-9
lines changed

2 files changed

+58
-9
lines changed

docs/source/nbclassic.rst

Lines changed: 54 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,64 @@ NbClassic in the Jupyter Ecosystem
6060
Read more details about the changes currently taking place in the
6161
Jupyter Ecosystem in this `team-compass issue`_.
6262

63-
You can install the nbclassic, notebook 7 and jupyterlab, all three of
63+
**NbClassic and Notebook 7**
64+
65+
You can install NbClassic, Notebook 7 and JupyterLab, all three of
6466
which will be providing different user interfaces that will be available
65-
on the same server.
67+
on the same server. When Notebook 7 is available, the NbClassic UI, will
68+
be served at the ``/nbclassic/tree`` base path rather than the
69+
base path ``/tree`` used otherwise. If you are using Notebook 7 along
70+
with NbClassic, you wil also have JupyterLab installed as it is a
71+
dependency of Notebook 7, and these front ends will be available
72+
through the following base paths: JupyterLab at ``/lab``, Notebook 7 at
73+
``/tree``, and NbClassic at ``/nbclassic/tree``.
74+
75+
**NbClassic and Notebook 6.5.x**
6676

67-
As nbclassic provides the static assets for notebook 6.5.x, while
77+
As NbClassic provides the static assets for Notebook 6.5.x, while
6878
having both installed should cause no issues, the user interface provided
6979
by these two packages will be the same. These UIs would be available in
70-
different servers.
71-
72-
When using nbclassic and notebook <= 6.4.x you can expect that these UIs
73-
will not be only presented at different servers but may also differ as
74-
potential changes to the nbclassic UI will not be reflected in Notebook
75-
versions <= 6.4.x.
80+
different servers. An NbClassic instance will be at a server with the
81+
``/tree`` path and opening a Notebook 6.5.x instance will open on a
82+
different server with the ``/tree`` path as well, presenting the same
83+
static assets. When starting an instance of JupyterLab you will be able
84+
to access the classic view of Notebook with NbClassic served on the same
85+
server at ``/tree``.
86+
87+
**NbClassic and Notebook <= 6.4.x**
88+
89+
When using NbClassic and Notebook <= 6.4.x you can expect that these UIs
90+
will not be only presented at different servers, meaning they will both
91+
be available at their respective server under ``/tree`` but they
92+
may also differ as potential changes to the NbClassic UI will not be
93+
reflected in Notebook versions <= 6.4.x. In this case as well, you would
94+
be able to access the classic view of Notebook with NbClassic served on
95+
the same server, at ``/tree``.
96+
97+
**NbClassic and JupyterLab 3.x**
98+
99+
When only JupyterLab 3.x is installed, then NbClassic does not have to be
100+
explicitly installed as JupyterLab 3.x depends on it. They will run on
101+
the same server, and are reachable via ``/tree`` for NbClassic and
102+
``/lab`` for JupyterLab.
103+
104+
**NbClassic and JupyterLab 4.x**
105+
106+
When only JupyterLab 4.x is installed, then NbClassic has to be installed
107+
explictly. They will run on the same server, and are reachable via
108+
``/tree`` for NbClassic, and ``/lab`` for JupyterLab.
109+
110+
**NbClassic Independently**
111+
112+
When you choose to install only NbClassic via ``pip install nbclassic``,
113+
the classic Notebook UI will be presented at the ``/tree`` path. As the
114+
other frontends are not installed, attempting to access the other paths
115+
will return errors. Note that NbClassic being a Jupyter Server extension,
116+
indicated Jupyter Server will be available. This provides an additional
117+
way to view the NbClassic frontend. You would be able to manually
118+
enable the extension when running an instance of Jupyter Server,
119+
``> jupyter server --ServerApp.jpserver_extensions="nbclassic=True"``,
120+
which will provide the NbClassic frontend at ``/tree`` path when visited.
76121

77122
.. _team-compass issue: https://github.com/jupyter/notebook-team-compass/issues/5#issuecomment-1085254000
78123

docs/source/nbclassic_dev_faq.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ Noteworthy Updates in NbClassic
2525

2626
- Endpoints in NbClassic
2727
- NbClassic handlers have been updated to account for Notebook 7 being installed (`Handlers under nbclassic if notebook 7 is found`_). If so, the resources from nbclassic will be served under the ``/nbclassic/`` URL subpath, so as to not interfere with those resources being served by Jupyter Notebook.
28+
- Redirecting from ``/tree`` to ``/nbclassic/tree`` if both Notebook 7 and NbClassic are installed (`PR #166`_).
2829

2930
.. _`Handlers under nbclassic if notebook 7 is found`: https://github.com/jupyter/nbclassic/pull/141
31+
.. _`PR #166`: https://github.com/jupyter/nbclassic/pull/166
32+
33+
3034

3135
NbClassic Developer FAQ
3236
-----------------------

0 commit comments

Comments
 (0)