changeset 2512:71572696773e

adds docs for compiing the basic theme
author sharky93 <rishabhr123@gmail.com>
date Mon, 23 Sep 2013 20:04:13 +0530
parents e2cbfdfd85e7
children cd4c838b557a
files docs/devel/development.rst
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docs/devel/development.rst	Mon Sep 23 11:31:17 2013 +0530
+++ b/docs/devel/development.rst	Mon Sep 23 20:04:13 2013 +0530
@@ -273,6 +273,18 @@
 values it can use. In addition to this general environment, parameters can
 also be given directly to the render call.
 
+Stylesheets for the Basic theme in MoinMoin are compiled using the source .less files 
+in the ``custom-less`` directory inside Basic theme's ``static`` directory.
+
+For instructions on how to set up server-side compilation of .less files refer to
+the "Server Side Usage - Installation" section at `LESS <http://lesscss.org/#usage>`_
+
+Once installed, we can invoke the less compiler from the command line by using
+the following
+
+    ``cd MoinMoin/themes/basic/static/custom-less``
+    ``lessc basic.less ../css/basic.css``
+
 Testing
 =======