Skip to content

Commit

Permalink
Update Ruby / Minitest documentation (5.25.4)
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Jan 11, 2025
1 parent 3e95aa2 commit 264b5cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
11 changes: 11 additions & 0 deletions docs/file-scrapers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down
7 changes: 1 addition & 6 deletions lib/docs/scrapers/rdoc/minitest.rb
Original file line number Diff line number Diff line change
@@ -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'
}
Expand Down

0 comments on commit 264b5cc

Please sign in to comment.