|
|
|
|
@ -125,7 +125,7 @@ def random_ports(port, n):
|
|
|
|
|
|
|
|
|
|
class NotebookWebApplication(web.Application):
|
|
|
|
|
|
|
|
|
|
def __init__(self, ipython_app, kernel_manager, notebook_manager,
|
|
|
|
|
def __init__(self, ipython_app, kernel_manager, notebook_manager,
|
|
|
|
|
cluster_manager, log,
|
|
|
|
|
base_project_url, settings_overrides):
|
|
|
|
|
handlers = [
|
|
|
|
|
@ -347,14 +347,14 @@ class NotebookApp(BaseIPythonApplication):
|
|
|
|
|
help="Whether to prevent editing/execution of notebooks."
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
use_less = Bool(False, config=True,
|
|
|
|
|
use_less = Bool(False, config=True,
|
|
|
|
|
help="""Wether to use Browser Side less-css parsing
|
|
|
|
|
instead of compiled css version in templates that allows
|
|
|
|
|
it. This is mainly convenient when working on the less
|
|
|
|
|
instead of compiled css version in templates that allows
|
|
|
|
|
it. This is mainly convenient when working on the less
|
|
|
|
|
file to avoid a build step, or if user want to overwrite
|
|
|
|
|
some of the less variables without having to recompile
|
|
|
|
|
everything.""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
webapp_settings = Dict(config=True,
|
|
|
|
|
help="Supply overrides for the tornado.web.Application that the "
|
|
|
|
|
"IPython notebook uses.")
|
|
|
|
|
|