mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-09-29 05:36:48 +02:00
Merge pull request #2310 from larouxn/update_rails_docs
Some checks failed
Deploy / Deploy to Heroku (push) Has been cancelled
Some checks failed
Deploy / Deploy to Heroku (push) Has been cancelled
Add Rails 7.2 docs
This commit is contained in:
commit
cdf50bc069
2 changed files with 7 additions and 3 deletions
|
@ -263,9 +263,9 @@ done
|
||||||
* Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`)
|
* 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 config set --local without 'db job'` (in the Rails directory)
|
||||||
* Run `bundle install && bundle exec rake rdoc` (in the Rails directory)
|
* Run `bundle install && bundle exec rake rdoc` (in the Rails directory)
|
||||||
* Run `cd guides && bundle exec rake guides:generate:html`
|
* Run `cd guides && bundle exec rake guides:generate:html && cd ..`
|
||||||
* Copy the `guides/output` directory to `html/guides`
|
* Run `cp -r guides/output html/guides`
|
||||||
* Copy the `html` directory to `docs/rails~[version]`
|
* Run `cp -r html $DEVDOCS/docs/rails~[version]`
|
||||||
|
|
||||||
### Ruby
|
### Ruby
|
||||||
Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run
|
Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run
|
||||||
|
|
|
@ -75,6 +75,10 @@ module Docs
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
version '7.2' do
|
||||||
|
self.release = '7.2.1'
|
||||||
|
end
|
||||||
|
|
||||||
version '7.1' do
|
version '7.1' do
|
||||||
self.release = '7.1.2'
|
self.release = '7.1.2'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue