Skip to content
This repository
Browse code

Fixed documentation tasks to work with Rake 0.7.0 (closes #3563) [kaz…

…uhiko@fdiary.net]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 3c8dbcbdf91e17925bbbd3bc8fe5291bdd801427 1 parent 8fe6b90
David Heinemeier Hansson dhh authored
2  railties/CHANGELOG
... ... @@ -1,5 +1,7 @@
1 1 *SVN*
2 2
  3 +* Fixed documentation tasks to work with Rake 0.7.0 #3563 [kazuhiko@fdiary.net]
  4 +
3 5 * Update to Prototype 1.5.0_pre0 [Sam Stephenson]
4 6
5 7 * Sort the list of plugins so we load in a consistent order [Rick Olson]
4 railties/lib/tasks/documentation.rake
@@ -16,7 +16,7 @@ plugins.each do |plugin|
16 16 files = Rake::FileList.new
17 17 options << "-o doc/plugins/#{plugin}"
18 18 options << "--title '#{plugin.titlecase} Plugin Documentation'"
19   - options << '--line-numbers --inline-source'
  19 + options << '--line-numbers' << '--inline-source'
20 20 options << '-T html'
21 21
22 22 files.include("#{plugin_base}/lib/**/*.rb")
@@ -45,7 +45,7 @@ Rake::RDocTask.new("apidoc") { |rdoc|
45 45 rdoc.rdoc_dir = 'doc/api'
46 46 rdoc.template = "#{ENV['template']}.rb" if ENV['template']
47 47 rdoc.title = "Rails Framework Documentation"
48   - rdoc.options << '--line-numbers --inline-source'
  48 + rdoc.options << '--line-numbers' << '--inline-source'
49 49 rdoc.rdoc_files.include('README')
50 50 rdoc.rdoc_files.include('vendor/rails/railties/CHANGELOG')
51 51 rdoc.rdoc_files.include('vendor/rails/railties/MIT-LICENSE')

0 comments on commit 3c8dbcb

Please sign in to comment.
Something went wrong with that request. Please try again.