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

[WIP] notebook as a jupyter server extension #4653

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 7 additions & 0 deletions jupyter-config/jupyter_server_config.d/notebook.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ServerApp": {
"jpserver_extensions": {
"notebook": true
}
}
}
9 changes: 9 additions & 0 deletions notebook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,12 @@

from .nbextensions import install_nbextension
from ._version import version_info, __version__

from .notebookapp import NotebookApp

EXTENSION_NAME = "notebook"

def _jupyter_server_extension_paths():
return [{"module": EXTENSION_NAME}]

load_jupyter_server_extension = NotebookApp.load_jupyter_server_extension
1 change: 0 additions & 1 deletion notebook/auth/__init__.py

This file was deleted.

42 changes: 0 additions & 42 deletions notebook/auth/__main__.py

This file was deleted.

255 changes: 0 additions & 255 deletions notebook/auth/login.py

This file was deleted.

23 changes: 0 additions & 23 deletions notebook/auth/logout.py

This file was deleted.

Loading