Unified · Split
| @@ -242,11 +242,12 @@ done · 241 unmodified lines | |||
| 242 | ### Ruby / Minitest | 242 | ### Ruby / Minitest |
| 243 | ### Ruby on Rails | 243 | ### Ruby on Rails |
| 244 | * Download a release at https://github.com/rails/rails/releases or clone https://github.com/rails/rails.git (checkout to the branch of the rails' version that is going to be scraped) | 244 | * Download a release at https://github.com/rails/rails/releases or clone https://github.com/rails/rails.git (checkout to the branch of the rails' version that is going to be scraped) |
| 245 | * Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc") | 245 | * Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`) |
| 246 | * Run "bundle install --without db && bundle exec rake rdoc" (in the Rails directory) | 246 | * Run `bundle config set --local without 'db job'` (in the Rails directory) |
| 247 | * Run "cd guides && bundle exec rake guides:generate:html" | 247 | * Run `bundle install && bundle exec rake rdoc` (in the Rails directory) |
| 248 | * Copy the "guides/output" directory to "html/guides" | 248 | * Run `cd guides && bundle exec rake guides:generate:html` |
| 249 | * Copy the "html" directory to "docs/rails~[version]" | 249 | * Copy the `guides/output` directory to `html/guides` |
| 250 | * Copy the `html` directory to `docs/rails~[version]` | ||
| 250 | 251 | ||
| 251 | ### Ruby | 252 | ### Ruby |
| 252 | Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run | 253 | Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run |