changeset 2883:12722b35e73c

document workaround for #484 lessc 2.0+ omits comments from basic/static/css/theme.css
author RogerHaase <haaserd@gmail.com>
date Sun, 25 Jan 2015 08:19:52 -0700
parents b0038fff1f2e
children 1e857f75122a
files docs/devel/development.rst
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/docs/devel/development.rst	Sat Jan 17 15:18:34 2015 -0700
+++ b/docs/devel/development.rst	Sun Jan 25 08:19:52 2015 -0700
@@ -87,7 +87,7 @@
 
 * install NodeJS and NPM with Linux package manager; Windows users may download both from http://nodejs.org/download/
 
-  * On Ubuntu 14.04 you need to install "npm" and "nodejs-legacy" (to get the "node" command).
+  * On Ubuntu 14.04 or any distribution based on Ubuntu you need to install "npm" and "nodejs-legacy" (to get the "node" command).
 
 * install stylus::
 
@@ -97,7 +97,8 @@
     stylus -V  # show version number to prove it works
 * install lessc ("less" below is not a typo)::
 
-    sudo npm install less -g  # Windows: npm install less -g
+    sudo npm install less@1.7.5 -g  # Windows: npm install less@1.7.5 -g
+    # we need 1.7.5 because later versions suppress copying wanted comments to the output css file
     lessc --version"  # show version number to prove it works
 * regenerate CSS files::