We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f3c08 commit e4abc6aCopy full SHA for e4abc6a
jupyter_server/serverapp.py
@@ -1050,6 +1050,20 @@ def _update_pylab(self, change):
1050
)
1051
self.exit(1)
1052
1053
+ notebook_dir = Unicode(config=True,
1054
+ help=_("DEPRECATED, use root_dir.")
1055
+ )
1056
+
1057
+ @default('notebook_dir')
1058
+ def _default_notebook_dir(self):
1059
+ self.log.warning(_("\n notebook_dir is deprecated, use root_dir.\n"))
1060
+ return self.root_dir
1061
1062
+ @validate('notebook_dir')
1063
+ def _update_notebook_dir(self, change):
1064
1065
+ self.root_dir = change['value']
1066
1067
root_dir = Unicode(config=True,
1068
help=_("The directory to use for notebooks and kernels.")
1069
0 commit comments