File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ following:
115115 Called when the extension is loaded.
116116
117117 Args:
118- nb_server_app (NotebookWebApplication) : handle to the Notebook webserver instance.
118+ nb_server_app: handle to the Notebook webserver instance.
119119 """
120120 web_app = nb_server_app.web_app
121121 host_pattern = ' .*$'
Original file line number Diff line number Diff line change @@ -1124,6 +1124,16 @@ def _update_pylab(self, change):
11241124 )
11251125 self .exit (1 )
11261126
1127+ notebook_dir = Unicode (
1128+ config = True ,
1129+ help = _ ("DEPRECATED, use root_dir." )
1130+ )
1131+
1132+ @observe ('notebook_dir' )
1133+ def _update_notebook_dir (self , change ):
1134+ self .log .warning (_ ("notebook_dir is deprecated, use root_dir" ))
1135+ self .root_dir = change ['new' ]
1136+
11271137 root_dir = Unicode (config = True ,
11281138 help = _ ("The directory to use for notebooks and kernels." )
11291139 )
You can’t perform that action at this time.
0 commit comments