vendor/plugins/haml/README.rdoc in radiant-0.7.2 vs vendor/plugins/haml/README.rdoc in radiant-0.8.0
- old
+ new
@@ -10,11 +10,11 @@
and providing elegant, easily understandable, and powerful syntax.
== Using
There are several ways to use Haml and Sass.
-They can be used as a plugins for Rails or Merb,
+They can be used as a plugin for Rails or Merb,
or embedded on their own in other applications.
The first step of all of these is to install the Haml gem:
gem install haml
@@ -29,15 +29,15 @@
to corresponding CSS files in public/stylesheets when needed
(the Sass template directory is customizable...
see the Sass module docs for details).
For Merb, <tt>.html.haml</tt> views will work without any further modification.
-To enable Sass, you also need to add it add a dependency.
+To enable Sass, you also need to add a dependency.
To do so, just add
- dependency "haml"
+ dependency "merb-haml"
-to config/dependencies.rb.
+to config/dependencies.rb (or config/init.rb in a flat/very flat Merb application).
Then it'll work just like it does in Rails.
To use Haml and Sass programatically,
check out the RDocs for the Haml and Sass modules.