aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
Diffstat (limited to 'guides')
-rw-r--r--guides/Rakefile8
-rw-r--r--guides/rails_guides/generator.rb2
2 files changed, 4 insertions, 6 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
diff --git a/guides/rails_guides/generator.rb b/guides/rails_guides/generator.rb
index 670b1c619b..8429077543 100644
--- a/guides/rails_guides/generator.rb
+++ b/guides/rails_guides/generator.rb
@@ -1,6 +1,6 @@
# ---------------------------------------------------------------------------
#
-# This script generates the guides. It can be invoked either directly or via the
+# This script generates the guides. It can be invoked via the
# guides:generate rake task within the railties directory.
#
# Guides are taken from the source directory, and the resulting HTML goes into the