diff options
author | Anand <lucky.developer@gmail.com> | 2011-08-22 17:07:23 +0530 |
---|---|---|
committer | Anand <lucky.developer@gmail.com> | 2011-08-22 22:28:02 +0530 |
commit | 71232f5d5d88d5390ff790b7b3336f5168e9f270 (patch) | |
tree | 44f2fb8446932c01549f8c979cf0b43ea11847a9 /Rakefile | |
parent | aae5ebf3eb7d17e668bb05f9c859e239f31b9f50 (diff) | |
download | rails-71232f5d5d88d5390ff790b7b3336f5168e9f270.tar.gz rails-71232f5d5d88d5390ff790b7b3336f5168e9f270.tar.bz2 rails-71232f5d5d88d5390ff790b7b3336f5168e9f270.zip |
Travis status image added to GitHub README, excluding API pages.
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 |