README.rdoc in rack-less-1.1.1 vs README.rdoc in rack-less-1.2.0
- old
+ new
@@ -46,35 +46,35 @@
You should now see `Rack::Less` listed in the middleware pipeline:
rake middleware
== Available Options
-key: name [default]: description
-* *root* ["."]:
- the app root. the reference point for the source and public options.
+* :*root* ["."]
+ - The app root. The reference point for the source and public options.
-* *source* ['app/stylesheets']:
- the path (relative to the root) where LESS source files are located
+* :*source* ['app/stylesheets']
+ - The path (relative to the root) where LESS source files are located
-* *public* ['public']:
- the path (relative to the root) static files are located
+* :*public* ['public']
+ - The path where static files are located
-* *hosted_at* ['/stylesheets']:
- the public HTTP path for hosted stylesheets
+* :*hosted_at* ['/stylesheets']
+ - The public HTTP path for hosted stylesheets.
== Available Configurations
-key: name [default]: description
-* *cache* [false]:
- whether to cache the compilation output to a corresponding static file
+* .*cache* [false]
+ - Whether to cache the compilation output to a corresponding static file
-* *compress* [false]:
- whether to remove extraneous whitespace from compilation output
+* .*compress* [false]
+ - Whether or not to apply compression to the concatenation output
+ - :*yui* - use YUI Compressor (gem install yui-compressor)
+ - :*whitespace* - remove extraneous whitespace only.
-* *combinations* [{}]:
- directives for combining the output of many stylesheets and serving them as a single resource
+* .*combinations* [{}]
+ - Directives for combining the output of many stylesheets and serving them as a single resource.
=== Combinations
At times, it is useful to combine multiple stylesheets and serve them as one resource. For example you may have two sets of stylesheets: one for traditional web views and one for mobile web views. Rails' provides the :cache option on 'stylesheet_link_tag' helper to provide this function, ie:
@@ -110,12 +110,14 @@
# equivalent to: stylesheet_link_tag 'reset', 'common', 'iui', 'app_mobile', :cache => 'mobile'
stylesheet_link_tag Rack::Less.combinations('mobile')
== Links
-GitHub: http://github.com/kelredd/rack-less
+* *GitHub*
+ - http://github.com/kelredd/rack-less
-Less: http://lesscss.org
+* *Less* *CSS*
+ - http://lesscss.org
== License
Copyright (c) 2010 Kelly Redding (mailto:kelly@kelredd.com)