Skip to content

Commit

Permalink
Update simple extension examples: _jupyter_server_extension_points (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
manics authored May 31, 2024
1 parent 2bd980d commit 21332f4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions examples/simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ open http://localhost:8888/
# TODO Fix Default URL, it does not show on startup.
# Home page as defined by default_url = '/default'.
open http://localhost:8888/simple_ext11/default
# HTML static page.
open http://localhost:8888/static/simple_ext11/test.html
# Content from Handlers.
open http://localhost:8888/simple_ext11/params/test?var1=foo
# Content from Template.
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/simple_ext1/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .application import SimpleApp1


def _jupyter_server_extension_paths():
def _jupyter_server_extension_points():
return [{"module": "simple_ext1.application", "app": SimpleApp1}]
2 changes: 1 addition & 1 deletion examples/simple/simple_ext11/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
from .application import SimpleApp11


def _jupyter_server_extension_paths():
def _jupyter_server_extension_points():
return [{"module": "simple_ext11.application", "app": SimpleApp11}]
2 changes: 1 addition & 1 deletion examples/simple/simple_ext2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .application import SimpleApp2


def _jupyter_server_extension_paths():
def _jupyter_server_extension_points():
return [
{"module": "simple_ext2.application", "app": SimpleApp2},
]

0 comments on commit 21332f4

Please sign in to comment.