Unified · Split
| @@ -235,6 +235,13 @@ done · 234 unmodified lines | ||
| 235 | 235 | ### Nokogiri |
| 236 | 236 | ### Ruby / Minitest |
| 237 | 237 | ### Ruby on Rails |
| 238 | +* 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) | |
| 239 | +* Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc") | |
| 240 | +* Run "bundle install --without db && bundle exec rake rdoc" (in the Rails directory) | |
| 241 | +* Run "cd guides && bundle exec rake guides:generate:html" | |
| 242 | +* Copy the "guides/output" directory to "html/guides" | |
| 243 | +* Copy the "html" directory to "docs/rails~[version]" | |
| 244 | + | |
| 238 | 245 | ### Ruby |
| 239 | 246 | Download the tarball of Ruby from https://www.ruby-lang.org/en/downloads/, extract it, run |
| 240 | 247 | `./configure && make html` in your terminal (while your are in the ruby directory) and move |
| @@ -1,13 +1,5 @@ | ||
| 1 | 1 | module Docs |
| 2 | 2 | class Rails < Rdoc |
| 3 | − # Instructions: | |
| 4 | − # 1. Download a release at https://github.com/rails/rails/releases | |
| 5 | − # 2. Open "railties/lib/rails/api/task.rb" and comment out any code related to sdoc ("configure_sdoc") | |
| 6 | − # 3. Run "bundle install --without db && bundle exec rake rdoc" (in the Rails directory) | |
| 7 | − # 4. Run "cd guides && bundle exec rake guides:generate:html" | |
| 8 | − # 5. Copy the "guides/output" directory to "html/guides" | |
| 9 | − # 6. Copy the "html" directory to "docs/rails~[version]" | |
| 10 | − | |
| 11 | 3 | include FixInternalUrlsBehavior |
| 12 | 4 | |
| 13 | 5 | self.name = 'Ruby on Rails' |