Skip to content

Commit

Permalink
Merge pull request #2310 from larouxn/update_rails_docs
Browse files Browse the repository at this point in the history
Add Rails 7.2 docs
  • Loading branch information
simon04 committed Sep 5, 2024
2 parents 86e24fb + b4173ea commit cdf50bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/file-scrapers.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,9 @@ done
* Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`)
* Run `bundle config set --local without 'db job'` (in the Rails directory)
* Run `bundle install && bundle exec rake rdoc` (in the Rails directory)
* Run `cd guides && bundle exec rake guides:generate:html`
* Copy the `guides/output` directory to `html/guides`
* Copy the `html` directory to `docs/rails~[version]`
* Run `cd guides && bundle exec rake guides:generate:html && cd ..`
* Run `cp -r guides/output html/guides`
* Run `cp -r html $DEVDOCS/docs/rails~[version]`

### Ruby
Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run
Expand Down
4 changes: 4 additions & 0 deletions lib/docs/scrapers/rdoc/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ class Rails < Rdoc
end
end

version '7.2' do
self.release = '7.2.1'
end

version '7.1' do
self.release = '7.1.2'
end
Expand Down

0 comments on commit cdf50bc

Please sign in to comment.