Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating documentation for nbclassic #134

Merged
merged 25 commits into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
64991bd
updated contributing doc
RRosio Jul 20, 2022
bc748b8
Set up for nbclassic docs
RRosio Jul 22, 2022
67dd443
nbclassic rst should be displayed at homepage
RRosio Jul 25, 2022
591ab96
outine structure for nbclassic docs
RRosio Jul 25, 2022
68129ea
Updates to nbclassic usage and installation documentation
RRosio Jul 27, 2022
bcad40c
Adding nbclassic development faq
RRosio Jul 27, 2022
48d2cf8
Apply suggestions from code review
RRosio Aug 1, 2022
ee1a812
Add reference to team-compass issue detailing plans for nbclassic and…
RRosio Aug 1, 2022
de9f739
FAQ answer with information on where to submit issues
RRosio Aug 3, 2022
83769ac
Update docs/source/nbclassic.rst
RRosio Aug 17, 2022
445d4c7
update docs with nbclassic development section
RRosio Sep 9, 2022
ca50c81
reorder sections and add a section for known issues
RRosio Sep 12, 2022
3367d2e
update naming convention from notebook v6 or v7 to notebook 6 or 7
RRosio Sep 12, 2022
7cef969
update home page with nbclassic internal link and move notebook exter…
RRosio Sep 12, 2022
3d31208
fix link indentation
RRosio Sep 12, 2022
ece7b23
add some additional config sections to nbclassic docs
RRosio Sep 12, 2022
d1db94c
removing local reference to nbclassic usage
RRosio Sep 12, 2022
c80a640
add getting started link to usage documentation and restore previous …
RRosio Sep 12, 2022
4946e6f
revert change that coincided with downstream test fail
RRosio Sep 12, 2022
ee201ac
fix broken link and reformat referrence
RRosio Sep 12, 2022
01a8e86
updating notebook referrences to nbclassic
RRosio Sep 13, 2022
50f968c
update reference of NotebookApp to ServerApp
RRosio Sep 13, 2022
f025f1b
updating references from notebook to nbclassic
RRosio Sep 13, 2022
6418b92
moving notice about jupyter server documentation
RRosio Sep 13, 2022
65803c7
update config overview and Notebook's known issues in public server
RRosio Sep 13, 2022
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
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can also use the installer from the `Node.js website <https://nodejs.org>`_.


Installing the Jupyter NbClassic
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Once you have installed the dependencies mentioned above, use the following
steps::
Expand Down Expand Up @@ -71,7 +71,7 @@ If you are working in development mode, you will see that your version of Jupyte
Troubleshooting the Installation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

If you do not see that your Jupyter NbClassic is not running on dev mode, it's possible that you are
If you do not see that your Jupyter NbClassic is running on dev mode, it's possible that you are
running other instances of Jupyter NbClassic. You can try the following steps:

1. Uninstall all instances of the NbClassic package. These include any installations you made using
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
master_doc = 'index'

# General information about the project.
project = 'Jupyter Notebook'
project = 'NbClassic'
RRosio marked this conversation as resolved.
Show resolved Hide resolved
copyright = '2015, Jupyter Team, https://jupyter.org'
author = 'The Jupyter Team'

Expand Down
8 changes: 5 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
====================
The Jupyter Notebook
====================
===================================
The Jupyter Notebook with NbClassic
RRosio marked this conversation as resolved.
Show resolved Hide resolved
===================================

* `Installation <https://jupyter.readthedocs.io/en/latest/install.html>`_
* `Starting the Notebook <https://jupyter.readthedocs.io/en/latest/running.html>`_
Expand All @@ -9,6 +9,7 @@ The Jupyter Notebook
:maxdepth: 1
:caption: User Documentation

nbclassic
notebook
ui_components
examples/Notebook/examples_index.rst
Expand All @@ -33,6 +34,7 @@ The Jupyter Notebook
:caption: Contributor Documentation

contributing
nbclassic_dev_faq
development_faq

.. toctree::
Expand Down
84 changes: 84 additions & 0 deletions docs/source/nbclassic.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
.. _htmlnotebook:

Jupyter NbClassic
====================

Introduction
------------

The nbclassic package is the implementation of the classic Jupyter
Notebook-v6 as a Jupyter Server extension. As proposed in the accepted
`Jupyter Enhancement Proposal #79`_ the development of this package
is due to plans being carried out to create a Notebook-v7, that is based on
the modern JupyterLab code-base.

While Notebook-v7 provides a user experience equivalent to that of the
classic Notebook-v6, the technology stack used is incompatible with
that which many Jupyter Notebook users have developed their Jupyter
Notebook extensions with. Users may find themselves in need of a
way to continue using the Jupyter Notebook-v6 tech-stack as they
transition to using the Jupyter Notebook-v7. The NbClassic package
intends to address that need.

.. _Jupyter Enhancement Proposal #79: https://jupyter.org/enhancement-proposals/79-notebook-v7/notebook-v7.html


NbClassic Usage
---------------

Installation
~~~~~~~~~~~~

Installing from PyPI:
``> pip install nbclassic``
This will automatically enable the extension in Jupyter Server.

Launch directly:
``> jupyter nbclassic``

Alternatively, you can run Jupyter Server and visit the `/tree` endpoint:
``> jupyter server``


NbClassic in the Jupyter Ecosystem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay awesome! Thank you for the link, I will add it to the documentation too!

You can install the nbclassic, notebook-v7 and jupyterlab, all three of
which will be providing different user interfaces that will be available
on the same server.

As nbclassic provides the static assets for notebook-v6.5.x, while
having both installed should cause no issues, the user interface provided
by these two packages will be the same. These UIs would be available in
different servers.

When using nbclassic and notebook <= v6.4.x you can expect that these UIs
will not be only presented at different servers but may also differ as
potential changes to the nblcassic UI will not be reflected in Notebook
RRosio marked this conversation as resolved.
Show resolved Hide resolved
versions <= 6.4.x.


NbClassic Development
---------------------

Nbclassic is the package that holds the UI components of
the classic Jupyter Notebook-v6 and serves this UI through the server
endpoints provided by Jupyter Server.

**The jupyter/notebook Repository**: The original `jupyter/notebook`_` GitHub
repository now holds the codebase for the new Jupyter Notebook (version 7).

.. _jupyter/notebook: https://github.com/jupyter/notebook


NbClassic Timeline
------------------
As proposed in the `JEP #79`_, the nbclassic
package will continue to be supported with critical security fixes
in the transition period as users move to using the more modern
Jupyter Notebook-v7.

**Porting Notebook-v6 Extensions**: Work being done in parallel.


.. _JEP #79: https://jupyter.org/enhancement-proposals/79-notebook-v7/notebook-v7.html
6 changes: 6 additions & 0 deletions docs/source/nbclassic_dev_faq.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.. _nbclassic_dev_faq:

Developer FAQ
=============

1. Where should I submit my issue?