A set of Rake tasks for generating static pages with Rails.
Add to your Gemfile:
Add to an initializer:
if defined?(RailsStatic) RailsStatic.configure do |config| config.index = 'index' config.routes = ['/'] config.extension = '.html' end end
Name of generated file for urls ending in
/. Default is
Array of app urls to request. Request the root route by default.
Extension of generated files. Default is no extension.
rails-static is released under the MIT License.