aboutsummaryrefslogtreecommitdiffstats
path: root/guides/Rakefile
diff options
context:
space:
mode:
authorRafael Magana <raf.magana@gmail.com>2012-05-28 16:17:00 -0500
committerRafael Magana <raf.magana@gmail.com>2012-05-28 16:17:00 -0500
commit1b5e1c197213d3b5c13a0a61e7f39e8b0bedf14c (patch)
tree98b4d71a900a956f9c9e816361966781cea1af46 /guides/Rakefile
parente625056c825b0c881d2a77887f7ca51b9a808729 (diff)
downloadrails-1b5e1c197213d3b5c13a0a61e7f39e8b0bedf14c.tar.gz
rails-1b5e1c197213d3b5c13a0a61e7f39e8b0bedf14c.tar.bz2
rails-1b5e1c197213d3b5c13a0a61e7f39e8b0bedf14c.zip
[guides] get rid of any reference to the generator script since rake tasks are now the new interface
Diffstat (limited to 'guides/Rakefile')
-rw-r--r--guides/Rakefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/guides/Rakefile b/guides/Rakefile
index 34b994d82b..1759ca1c36 100644
--- a/guides/Rakefile
+++ b/guides/Rakefile
@@ -28,14 +28,13 @@ namespace :guides do
task :help do
puts <<-help
-Guides are generated with the rails_guides/generator.rb script, it can be invoked
-directly or via the guides:generate rake task. Here's a full list of available tasks:
-
-#{%x[rake -T]}
Guides are taken from the source directory, and the resulting HTML goes into the
output directory. Assets are stored under files, and copied to output/files as
part of the generation process.
+All this process is handled via rake tasks, here's a full list of them:
+
+#{%x[rake -T]}
Some arguments may be passed via environment variables:
WARNINGS=1
@@ -64,7 +63,6 @@ Some arguments may be passed via environment variables:
Generate .mobi with all the guides.
Examples:
- $ ALL=1 ruby rails_guides.rb
$ rake guides:generate ALL=1
$ rake guides:generate KINDLE=1
$ rake guides:generate:kindle