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:
115
115
Called when the extension is loaded.
116
116
117
117
Args:
118
- nb_server_app (NotebookWebApplication) : handle to the Notebook webserver instance.
118
+ nb_server_app: handle to the Notebook webserver instance.
119
119
"""
120
120
web_app = nb_server_app.web_app
121
121
host_pattern = ' .*$'
Original file line number Diff line number Diff line change @@ -1124,6 +1124,16 @@ def _update_pylab(self, change):
1124
1124
)
1125
1125
self .exit (1 )
1126
1126
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
+
1127
1137
root_dir = Unicode (config = True ,
1128
1138
help = _ ("The directory to use for notebooks and kernels." )
1129
1139
)
You can’t perform that action at this time.
0 commit comments