diff --git a/guides/Rakefile b/guides/Rakefile
index 1759ca1c36..d005a12936 100644
--- a/guides/Rakefile
+++ b/guides/Rakefile
@@ -11,7 +11,7 @@ namespace :guides do
ruby "rails_guides.rb"
end
- desc "Generate .mobi file"
+ desc "Generate .mobi file. The kindlegen executable must be in your PATH. You can get it for free from http://www.amazon.com/kindlepublishing"
task :kindle do
ENV['KINDLE'] = '1'
Rake::Task['guides:generate:html'].invoke
@@ -59,14 +59,10 @@ Some arguments may be passed via environment variables:
EDGE=1
Indicate generated guides should be marked as edge.
- KINDLE=1
- Generate .mobi with all the guides.
-
Examples:
$ rake guides:generate ALL=1
- $ rake guides:generate KINDLE=1
- $ rake guides:generate:kindle
$ rake guides:generate EDGE=1
+ $ rake guides:generate:kindle EDGE=1
$ rake guides:generate GUIDES_LANGUAGE=es
help
end
diff --git a/guides/rails_guides/generator.rb b/guides/rails_guides/generator.rb
index 8429077543..4a1575a3ce 100644
--- a/guides/rails_guides/generator.rb
+++ b/guides/rails_guides/generator.rb
@@ -47,11 +47,6 @@
# Set to "1" to indicate generated guides should be marked as edge. This
# inserts a badge and changes the preamble of the home page.
#
-# KINDLE
-# Set to "1" to generate the .mobi with all the guides. The kindlegen
-# executable must be in your PATH. You can get it for free from
-# http://www.amazon.com/kindlepublishing
-#
# ---------------------------------------------------------------------------
require 'set'
diff --git a/guides/source/ruby_on_rails_guides_guidelines.textile b/guides/source/ruby_on_rails_guides_guidelines.textile
index d4b0fe9814..dd209b61d6 100644
--- a/guides/source/ruby_on_rails_guides_guidelines.textile
+++ b/guides/source/ruby_on_rails_guides_guidelines.textile
@@ -97,13 +97,7 @@ h3. Kindle Guides
h4(#generation-kindle). Generation
-To generate guides for the Kindle, you need to provide +KINDLE=1+ as an environment variable:
-
-
-KINDLE=1 bundle exec rake guides:generate
-
-
-or you can use the following task:
+To generate guides for the Kindle, use the following rake task:
bundle exec rake guides:generate:kindle