Update Ruby on Rails documentation (5.0.1, 4.2.7, 4.1.16)

Fixes #555.
pull/565/head
Thibaut Courouble 8 years ago
parent 6aace487fc
commit f18f179f62

@ -42,6 +42,8 @@ module Docs
# Remove code highlighting
css('pre').each do |node|
node.content = node.content
node['data-language'] = 'c' if node['class'] == 'c'
node['data-language'] = 'ruby' if node['class'] && node['class'].include?('ruby')
end
end
end

@ -1,5 +1,7 @@
module Docs
class Rails < Rdoc
include FixInternalUrlsBehavior
self.name = 'Ruby on Rails'
self.slug = 'rails'
self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Rails'
@ -47,15 +49,15 @@ module Docs
HTML
version '5.0' do
self.release = '5.0.0'
self.release = '5.0.1'
end
version '4.2' do
self.release = '4.2.6'
self.release = '4.2.7'
end
version '4.1' do
self.release = '4.1.15'
self.release = '4.1.16'
end
end
end

Loading…
Cancel
Save