README.rdoc in install_theme-0.6.2 vs README.rdoc in install_theme-0.7.0

- old
+ new

@@ -16,25 +16,43 @@ == USAGE: Simple case: - install_theme path/to/template path/to/rails_app content_path + install_theme path/to/rails_app path/to/template content_path Replace some DOM content with <%= yield :some_label %> with --partial: - install_theme path/to/app path/to/rails_app #content_box \ + install_theme path/to/rails_app path/to/template #content_box \ --partial "header:#header h2" \ --partial sidebar:#sidebar" +NOTE: The order of the first two arguments has been reversed since the original +public release. This is in preparation for path/to/template to be optional. + +Similarly, in 0.7.0 the content_path argument is optional after the first time +you install a specific theme (see 'Theme Reuse' section). + === Haml Support: If your application has Haml installed, the template/theme is automatically converted to Haml, and the css files converted to Sass. Alternately, you can pass the flag --haml to force it. Or pass the flag --erb to force erb template generation. + +=== Theme Reuse: + +Once you have installed a theme into an application once, that theme remembers the content path +and partials you selected. You won't have to type them again. + +That is, after running the `install_theme` command above, you could apply the same theme +to another Rails app using just: + + install_theme path/to/app path/to/another_rails_app + +The defaults for each theme are stored in a file `install_theme.yml`. == INSTALL: install_theme is distributed as a RubyGem, which installs the command line app automatically: \ No newline at end of file