From d078afb51a986d0efb468938caa2edfcfd5deb03 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Fri, 25 Jan 2013 17:32:43 +0100 Subject: [PATCH] use less as a component --- IPython/frontend/html/notebook/notebookapp.py | 6 +++++- IPython/frontend/html/notebook/templates/notebook.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/IPython/frontend/html/notebook/notebookapp.py b/IPython/frontend/html/notebook/notebookapp.py index 362a96650..8fb1d5366 100644 --- a/IPython/frontend/html/notebook/notebookapp.py +++ b/IPython/frontend/html/notebook/notebookapp.py @@ -353,7 +353,11 @@ class NotebookApp(BaseIPythonApplication): 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.""") + everything. + + You will need to install the less.js component in the static directory + either in the source tree or in your profile folder. + """) webapp_settings = Dict(config=True, help="Supply overrides for the tornado.web.Application that the " diff --git a/IPython/frontend/html/notebook/templates/notebook.html b/IPython/frontend/html/notebook/templates/notebook.html index e4d7ea3bd..bd4ca9e59 100644 --- a/IPython/frontend/html/notebook/templates/notebook.html +++ b/IPython/frontend/html/notebook/templates/notebook.html @@ -185,7 +185,7 @@ data-notebook-id={{notebook_id}} {% block script %} {% if use_less %} - + {% endif %}