Add rails to file-scrapers.md

pull/1688/head
Enoc 3 years ago
parent 437485140d
commit a4d6ad1bb8

@ -235,6 +235,13 @@ done
### Nokogiri ### Nokogiri
### Ruby / Minitest ### Ruby / Minitest
### Ruby on Rails ### Ruby on Rails
* 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)
* Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc")
* Run "bundle install --without db && 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]"
### 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
`./configure && make html` in your terminal (while your are in the ruby directory) and move `./configure && make html` in your terminal (while your are in the ruby directory) and move

@ -1,13 +1,5 @@
module Docs module Docs
class Rails < Rdoc class Rails < Rdoc
# Instructions:
# 1. Download a release at https://github.com/rails/rails/releases
# 2. Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc")
# 3. Run "bundle install --without db && bundle exec rake rdoc" (in the Rails directory)
# 4. Run "cd guides && bundle exec rake guides:generate:html"
# 5. Copy the "guides/output" directory to "html/guides"
# 6. Copy the "html" directory to "docs/rails~[version]"
include FixInternalUrlsBehavior include FixInternalUrlsBehavior
self.name = 'Ruby on Rails' self.name = 'Ruby on Rails'

Loading…
Cancel
Save