Skip to content
This repository
Browse code

rdoc changes

git-svn-id: svn://errtheblog.com/svn/plugins/will_paginate@329 1eaa51fe-a21a-0410-9c2e-ae7a00a434c4
  • Loading branch information...
commit 9ba306e0363f7a3c6a1301cbce1c362e2fa9e32f 1 parent 8ff2314
chris authored

Showing 1 changed file with 7 additions and 5 deletions. Show diff stats Hide diff stats

  1. +7 5 Rakefile
12 Rakefile
@@ -13,9 +13,11 @@ end
13 13
14 14 desc 'Generate RDoc documentation for the will_paginate plugin.'
15 15 Rake::RDocTask.new(:rdoc) do |rdoc|
16   - rdoc.rdoc_dir = 'rdoc'
17   - rdoc.title = 'WillPaginate'
18   - rdoc.options << '--line-numbers' << '--inline-source'
19   - rdoc.rdoc_files.include('README')
20   - rdoc.rdoc_files.include('lib/**/*.rb')
  16 + files = ['README', 'LICENSE', 'lib/**/*.rb']
  17 + rdoc.rdoc_files.add(files)
  18 + rdoc.main = "README" # page to start on
  19 + rdoc.title = "will_paginate documentation"
  20 + rdoc.template = File.exists?(t="~/ruby/projects/err/rock/template.rb") ? t : "/var/www/rock/template.rb"
  21 + rdoc.rdoc_dir = 'doc' # rdoc output folder
  22 + rdoc.options << '--inline-source'
21 23 end

0 comments on commit 9ba306e

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