mirror of https://github.com/rails/rails
Merge pull request #18503 from vipulnsward/guides-in-on
Changed `IN` to `ON` in markdown renderer condition
This commit is contained in:
commit
7ba24831d7
|
@ -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 IN GITHUB')
|
||||
elsif text.include?('DO NOT READ THIS FILE ON 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 IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 2.2 Release Notes
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 2.3 Release Notes
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 3.0 Release Notes
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 3.1 Release Notes
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 3.2 Release Notes
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 4.0 Release Notes
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 4.1 Release Notes
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails 4.2 Release Notes
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Action Controller Overview
|
||||
==========================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Action Mailer Basics
|
||||
====================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Action View Overview
|
||||
====================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Job Basics
|
||||
=================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Model Basics
|
||||
===================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Record Basics
|
||||
====================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Record Callbacks
|
||||
=======================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Record Migrations
|
||||
========================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Record and PostgreSQL
|
||||
============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Record Query Interface
|
||||
=============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Record Validations
|
||||
=========================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Support Core Extensions
|
||||
==============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Support Instrumentation
|
||||
==============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
API Documentation Guidelines
|
||||
============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
The Asset Pipeline
|
||||
==================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Active Record Associations
|
||||
==========================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Autoloading and Reloading Constants
|
||||
===================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Caching with Rails: An overview
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
The Rails Command Line
|
||||
======================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Configuring Rails Applications
|
||||
==============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Contributing to Ruby on Rails
|
||||
=============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Debugging Rails Applications
|
||||
============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Development Dependencies Install
|
||||
================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Getting Started with Engines
|
||||
============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Form Helpers
|
||||
============
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Creating and Customizing Rails Generators & Templates
|
||||
=====================================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Getting Started with Rails
|
||||
==========================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Rails Internationalization (I18n) API
|
||||
=====================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
The Rails Initialization Process
|
||||
================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Layouts and Rendering in Rails
|
||||
==============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Maintenance Policy for Ruby on Rails
|
||||
====================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Rails Nested Model Forms
|
||||
========================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
The Basics of Creating Rails Plugins
|
||||
====================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
*DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
*DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
A Guide to Profiling Rails Applications
|
||||
=======================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Rails Application Templates
|
||||
===========================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Rails on Rack
|
||||
=============
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Rails Routing from the Outside In
|
||||
=================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails Guides Guidelines
|
||||
===============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Ruby on Rails Security Guide
|
||||
============================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
A Guide to Testing Rails Applications
|
||||
=====================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
A Guide for Upgrading Ruby on Rails
|
||||
===================================
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**DO NOT READ THIS FILE IN GITHUB, GUIDES ARE PUBLISHED IN http://guides.rubyonrails.org.**
|
||||
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**
|
||||
|
||||
Working with JavaScript in Rails
|
||||
================================
|
||||
|
|
Loading…
Reference in New Issue