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
254 254
255### Nokogiri255### Nokogiri
256### Ruby / Minitest256### Ruby / Minitest
257
258```sh
259git clone https://github.com/seattlerb/minitest
260cd minitest/
261bundle install
262bundle add rdoc hoe
263bundle exec rak docs
264cd ..
265cp -r minitest/docs $DEVDOCS/docs/minitest
266```
267
257### Ruby on Rails268### Ruby on Rails
258* 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)269* 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)
259* Open `railties/lib/rails/api/task.rb` and comment out any code related to sdoc (`configure_sdoc`)270* 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 @@
1module Docs1module Docs
2 class Minitest < Rdoc2 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"
8 3
9 self.name = 'Ruby / Minitest'4 self.name = 'Ruby / Minitest'
10 self.slug = 'minitest'5 self.slug = 'minitest'
11 self.release = '5.20.0'6 self.release = '5.25.4'
12 self.links = {7 self.links = {
13 code: 'https://github.com/minitest/minitest'8 code: 'https://github.com/minitest/minitest'
14 }9 }

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