Skip to content

Commit 13ed1c9

Browse files
committed
Update Ruby on Rails documentation (5.2.2)
1 parent b290b7d commit 13ed1c9

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

lib/docs/scrapers/rdoc/rails.rb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
module Docs
22
class Rails < Rdoc
3+
# Instructions:
4+
# 1. Download a release at https://github.com/rails/rails/releases
5+
# 2. Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc")
6+
# 3. Run "bundle install --without db && bundle exec rake rdoc" (in the Rails directory)
7+
# 4. Run "cd guides && bundle exec rake guides:generate:html"
8+
# 5. Copy the "guides/output" directory to "html/guides"
9+
# 6. Copy the "html" directory to "docs/rails~[version]"
10+
311
include FixInternalUrlsBehavior
412

513
self.name = 'Ruby on Rails'
@@ -67,7 +75,7 @@ class Rails < Rdoc
6775
end
6876

6977
version '5.2' do
70-
self.release = '5.2.0'
78+
self.release = '5.2.2'
7179
end
7280

7381
version '5.1' do
@@ -79,7 +87,7 @@ class Rails < Rdoc
7987
end
8088

8189
version '4.2' do
82-
self.release = '4.2.10'
90+
self.release = '4.2.11'
8391
end
8492

8593
version '4.1' do

0 commit comments

Comments
 (0)