Browse Source

Update Ruby on Rails documentation (7.2.1)

Simon Legner 1 year ago
parent
commit
b4173ea2d4
2 changed files with 4 additions and 4 deletions
  1. 3 3
      docs/file-scrapers.md
  2. 1 1
      lib/docs/scrapers/rdoc/rails.rb

+ 3 - 3
docs/file-scrapers.md

@@ -244,9 +244,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

+ 1 - 1
lib/docs/scrapers/rdoc/rails.rb

@@ -76,7 +76,7 @@ module Docs
     end
 
     version '7.2' do
-      self.release = '7.2.0'
+      self.release = '7.2.1'
     end
 
     version '7.1' do