diff --git a/examples/simple/README.md b/examples/simple/README.md index ad4484ec25..77f10be9d2 100644 --- a/examples/simple/README.md +++ b/examples/simple/README.md @@ -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. diff --git a/examples/simple/simple_ext1/__init__.py b/examples/simple/simple_ext1/__init__.py index 7b0c65c96f..f1b750f080 100644 --- a/examples/simple/simple_ext1/__init__.py +++ b/examples/simple/simple_ext1/__init__.py @@ -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}] diff --git a/examples/simple/simple_ext11/__init__.py b/examples/simple/simple_ext11/__init__.py index 66194e3e10..2da9cc1925 100644 --- a/examples/simple/simple_ext11/__init__.py +++ b/examples/simple/simple_ext11/__init__.py @@ -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}] diff --git a/examples/simple/simple_ext2/__init__.py b/examples/simple/simple_ext2/__init__.py index cf7dfabb3c..d56053a66a 100644 --- a/examples/simple/simple_ext2/__init__.py +++ b/examples/simple/simple_ext2/__init__.py @@ -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}, ]