Browse Source

Update Ruby / Minitest documentation (5.25.4)

Simon Legner 11 months ago
parent
commit
264b5cc264
2 changed files with 12 additions and 6 deletions
  1. 11 0
      docs/file-scrapers.md
  2. 1 6
      lib/docs/scrapers/rdoc/minitest.rb

+ 11 - 0
docs/file-scrapers.md

@@ -254,6 +254,17 @@ done
 
 ### Nokogiri
 ### Ruby / Minitest
+
+```sh
+git clone https://github.com/seattlerb/minitest
+cd minitest/
+bundle install
+bundle add rdoc hoe
+bundle exec rak docs
+cd ..
+cp -r minitest/docs $DEVDOCS/docs/minitest
+```
+
 ### 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`)

+ 1 - 6
lib/docs/scrapers/rdoc/minitest.rb

@@ -1,14 +1,9 @@
 module Docs
   class Minitest < Rdoc
-    # Instructions:
-    #   1. Run "gem update rdoc hoe"
-    #   2. Download the source code at https://github.com/seattlerb/minitest
-    #   3. Run "rake docs" (in the Minitest directory)
-    #   4. Copy the "docs" directory to "docs/minitest"
 
     self.name = 'Ruby / Minitest'
     self.slug = 'minitest'
-    self.release = '5.20.0'
+    self.release = '5.25.4'
     self.links = {
       code: 'https://github.com/minitest/minitest'
     }