Permalink
Browse files

[guides] get rid of any reference to the generator script since rake …

…tasks are now the new interface
  • Loading branch information...
1 parent e625056 commit 1b5e1c197213d3b5c13a0a61e7f39e8b0bedf14c @rafmagana rafmagana committed May 28, 2012
Showing with 4 additions and 6 deletions.
  1. +3 −5 guides/Rakefile
  2. +1 −1 guides/rails_guides/generator.rb
View
@@ -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
@@ -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

0 comments on commit 1b5e1c1

Please sign in to comment.