Skip to content

Commit cdf50bc

Browse files
authored
Merge pull request #2310 from larouxn/update_rails_docs
Add Rails 7.2 docs
2 parents 86e24fb + b4173ea commit cdf50bc

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Diff for: docs/file-scrapers.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,9 @@ done
263263
* Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`)
264264
* Run `bundle config set --local without 'db job'` (in the Rails directory)
265265
* Run `bundle install && bundle exec rake rdoc` (in the Rails directory)
266-
* Run `cd guides && bundle exec rake guides:generate:html`
267-
* Copy the `guides/output` directory to `html/guides`
268-
* Copy the `html` directory to `docs/rails~[version]`
266+
* Run `cd guides && bundle exec rake guides:generate:html && cd ..`
267+
* Run `cp -r guides/output html/guides`
268+
* Run `cp -r html $DEVDOCS/docs/rails~[version]`
269269

270270
### Ruby
271271
Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run

Diff for: lib/docs/scrapers/rdoc/rails.rb

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ class Rails < Rdoc
7575
end
7676
end
7777

78+
version '7.2' do
79+
self.release = '7.2.1'
80+
end
81+
7882
version '7.1' do
7983
self.release = '7.1.2'
8084
end

0 commit comments

Comments
 (0)