diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -75,10 +75,10 @@ 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 and Gemnasium status images from API pages. Only GitHub - # README page gets these images. Travis' https build image is used to avoid - # GitHub caching: http://about.travis-ci.org/docs/user/status-images - rdoc_main.gsub!(%r{^== (Build|Dependency) Status.*}, '') + # Remove Travis and Gemnasium status images from API pages. Only the GitHub + # README page gets these images. Travis's HTTPS build image is used to + # avoid GitHub caching: http://about.travis-ci.org/docs/user/status-images + rdoc_main.gsub!(/^== Code Status(\n(?!==).*)*/, '') File.open(RDOC_MAIN, 'w') do |f| f.write(rdoc_main) |