History

Merge pull request #1109 from TheWillGabriel/rails-6.0

Update Rails documentation (6.0.0)

Jasper van Merle committed 7 years ago

Commit 9b63f462 parents 399387f 2fe67052 files · +16 −3Browse files

Showing the changes to lib/docs (1 of 2 files). Show all

Unified · Split

lib/docs/scrapers/rdoc/rails.rb+15−2
@@ -45,6 +45,15 @@ module Docs · 44 unmodified lines
4545 ActiveSupport/Dependencies/WatchStack.html
4646 ActiveSupport/Notifications/Fanout.html)
4747
48+ # False positives found by docs:generate
49+ options[:skip].concat %w(
50+ ActionDispatch/www.example.com
51+ ActionDispatch/Http/www.rubyonrails.org
52+ ActionDispatch/Http/www.rubyonrails.co.uk
53+ 'TZ'
54+ active_record_migrations.html
55+ association_basics.html)
56+
4857 options[:skip_patterns] += [
4958 /release_notes/,
5059 /\AActionController\/Testing/,
@@ -63,17 +72,21 @@ module Docs · 12 unmodified lines
6372 options[:attribution] = ->(filter) do
6473 if filter.slug.start_with?('guides')
6574 <<-HTML
66− &copy; 2004&ndash;2018 David Heinemeier Hansson<br>
75+ &copy; 2004&ndash;2019 David Heinemeier Hansson<br>
6776 Licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
6877 HTML
6978 else
7079 <<-HTML
71− &copy; 2004&ndash;2018 David Heinemeier Hansson<br>
80+ &copy; 2004&ndash;2019 David Heinemeier Hansson<br>
7281 Licensed under the MIT License.
7382 HTML
7483 end
7584 end
7685
86+ version '6.0' do
87+ self.release = '6.0.0'
88+ end
89+
7790 version '5.2' do
7891 self.release = '5.2.2'
7992 end

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t