mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
third test to warn against reading guides in GitHub
This commit is contained in:
parent
82180f4ebd
commit
f2bdca3bf9
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ HTML
|
|||
def paragraph(text)
|
||||
if text =~ /^(TIP|IMPORTANT|CAUTION|WARNING|NOTE|INFO|TODO)[.:](.*?)/
|
||||
convert_notes(text)
|
||||
elsif text.include?('DO NOT READ THIS FILE')
|
||||
elsif text.include?('DO NOT READ THIS FILE IN GITHUB')
|
||||
elsif text =~ /^\[<sup>(\d+)\]:<\/sup> (.+)$/
|
||||
linkback = %(<a href="#footnote-#{$1}-ref"><sup>#{$1}</sup></a>)
|
||||
%(<p class="footnote" id="footnote-#{$1}">#{linkback} #{$2}</p>)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE, guides are published in http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 2.2 Release Notes
|
||||
===============================
|
||||
|
|
Loading…
Reference in a new issue