History

Update Ruby / Minitest documentation (5.25.4)

Simon Legner committed 1 year ago

Commit 264b5cc1 parent 3e95aa22 files · +12 −6Browse files

Unified · Split

2 files
  1. docs/file-scrapers.md +11 −0
  2. lib/docs/scrapers/rdoc/minitest.rb +1 −6
docs/file-scrapers.md+11−0
@@ -254,6 +254,17 @@ done · 253 unmodified lines
254254
255255 ### Nokogiri
256256 ### Ruby / Minitest
257+
258+```sh
259+git clone https://github.com/seattlerb/minitest
260+cd minitest/
261+bundle install
262+bundle add rdoc hoe
263+bundle exec rak docs
264+cd ..
265+cp -r minitest/docs $DEVDOCS/docs/minitest
266+```
267+
257268 ### Ruby on Rails
258269 * 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)
259270 * Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`)
lib/docs/scrapers/rdoc/minitest.rb+1−6
@@ -1,14 +1,9 @@
11 module Docs
22 class Minitest < Rdoc
3− # Instructions:
4− # 1. Run "gem update rdoc hoe"
5− # 2. Download the source code at https://github.com/seattlerb/minitest
6− # 3. Run "rake docs" (in the Minitest directory)
7− # 4. Copy the "docs" directory to "docs/minitest"
83
94 self.name = 'Ruby / Minitest'
105 self.slug = 'minitest'
11− self.release = '5.20.0'
6+ self.release = '5.25.4'
127 self.links = {
138 code: 'https://github.com/minitest/minitest'
149 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t