diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-22 11:29:01 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-08-22 11:29:01 -0700 |
commit | 999e7ea47d04c4fe01a195fdb8abd39b6bd38fa8 (patch) | |
tree | fcd11a3e37fe29a32b7b4cef32051093488f5458 /Rakefile | |
parent | d7ec3ee9aedd314786a49201bfaf56f919788a51 (diff) | |
parent | 71232f5d5d88d5390ff790b7b3336f5168e9f270 (diff) | |
download | rails-999e7ea47d04c4fe01a195fdb8abd39b6bd38fa8.tar.gz rails-999e7ea47d04c4fe01a195fdb8abd39b6bd38fa8.tar.bz2 rails-999e7ea47d04c4fe01a195fdb8abd39b6bd38fa8.zip |
Merge pull request #2627 from luckydev/tr
travis status image added
Diffstat (limited to 'Rakefile')
-rwxr-xr-x | Rakefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -76,6 +76,9 @@ RDoc::Task.new do |rdoc| rdoc_main.gsub!(/^(?=\S).*?\b(?=Rails)\b/) { "#$&\\" } rdoc_main.gsub!(%r{link:/rails/rails/blob/master/(\w+)/README\.rdoc}, "link:files/\\1/README_rdoc.html") + # Remove Travis build status image from API pages. Only GitHub README page gets this image + rdoc_main.gsub!("http://travis-ci.org/rails/rails.png", "") + File.open(RDOC_MAIN, 'w') do |f| f.write(rdoc_main) end |