Skip to content

Commit 21332f4

Browse files
authored
Update simple extension examples: _jupyter_server_extension_points (#1426)
1 parent 2bd980d commit 21332f4

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

examples/simple/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ open http://localhost:8888/
187187
# TODO Fix Default URL, it does not show on startup.
188188
# Home page as defined by default_url = '/default'.
189189
open http://localhost:8888/simple_ext11/default
190-
# HTML static page.
191-
open http://localhost:8888/static/simple_ext11/test.html
192190
# Content from Handlers.
193191
open http://localhost:8888/simple_ext11/params/test?var1=foo
194192
# Content from Template.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from .application import SimpleApp1
22

33

4-
def _jupyter_server_extension_paths():
4+
def _jupyter_server_extension_points():
55
return [{"module": "simple_ext1.application", "app": SimpleApp1}]

examples/simple/simple_ext11/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
from .application import SimpleApp11
44

55

6-
def _jupyter_server_extension_paths():
6+
def _jupyter_server_extension_points():
77
return [{"module": "simple_ext11.application", "app": SimpleApp11}]

examples/simple/simple_ext2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from .application import SimpleApp2
44

55

6-
def _jupyter_server_extension_paths():
6+
def _jupyter_server_extension_points():
77
return [
88
{"module": "simple_ext2.application", "app": SimpleApp2},
99
]

0 commit comments

Comments
 (0)