##// END OF EJS Templates
Minor fixes to config system for notebook.
Brian E. Granger -
Show More
@@ -106,7 +106,6 b' aliases.update(dict('
106 ip = 'IPythonNotebookApp.ip',
106 ip = 'IPythonNotebookApp.ip',
107 port = 'IPythonNotebookApp.port',
107 port = 'IPythonNotebookApp.port',
108 colors = 'ZMQInteractiveShell.colors',
108 colors = 'ZMQInteractiveShell.colors',
109 editor = 'RichIPythonWidget.editor',
110 ))
109 ))
111
110
112 #-----------------------------------------------------------------------------
111 #-----------------------------------------------------------------------------
@@ -126,7 +125,7 b' class IPythonNotebookApp(BaseIPythonApplication):'
126
125
127 classes = [IPKernelApp, ZMQInteractiveShell, ProfileDir, Session,
126 classes = [IPKernelApp, ZMQInteractiveShell, ProfileDir, Session,
128 RoutingKernelManager, NotebookManager,
127 RoutingKernelManager, NotebookManager,
129 KernelManager, SessionManager, RichIPythonWidget]
128 KernelManager, SessionManager]
130 flags = Dict(flags)
129 flags = Dict(flags)
131 aliases = Dict(aliases)
130 aliases = Dict(aliases)
132
131
@@ -27,7 +27,9 b' from IPython.utils.traitlets import Unicode, List, Dict'
27
27
28 class NotebookManager(LoggingConfigurable):
28 class NotebookManager(LoggingConfigurable):
29
29
30 notebook_dir = Unicode(os.getcwd())
30 notebook_dir = Unicode(os.getcwd(), config=True, help="""
31 The directory to use for notebooks.
32 """)
31 filename_ext = Unicode(u'.ipynb')
33 filename_ext = Unicode(u'.ipynb')
32 allowed_formats = List([u'json',u'xml',u'py'])
34 allowed_formats = List([u'json',u'xml',u'py'])
33
35
General Comments 0
You need to be logged in to leave comments. Login now