File tree Expand file tree Collapse file tree 5 files changed +35
-0
lines changed
Expand file tree Collapse file tree 5 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,17 @@ bundle exec rake docs
270270cp -r docs $DEVDOCS /docs/minitest
271271```
272272
273+ ### Ruby / Rack
274+
275+ ``` sh
276+ git clone https://github.com/rack/rack
277+ cd rack/
278+ sed -i ' s/gem "rdoc"/gem "rdoc", "<7"/' Gemfile
279+ bundle install
280+ bundle exec rdoc
281+ cp -r doc $DEVDOCS /docs/rack
282+ ```
283+
273284### Ruby on Rails
274285* Run ` git clone --branch v$RELEASE --depth 7 https://github.com/rails/rails.git && cd rails `
275286* Open ` railties/lib/rails/api/task.rb ` and comment out any code related to sdoc (` configure_sdoc ` )
Original file line number Diff line number Diff line change 1+ module Docs
2+ class Rack < Rdoc
3+
4+ self . name = 'Ruby / Rack'
5+ self . slug = 'rack'
6+ self . release = '3.2.6'
7+ self . links = {
8+ home : 'https://rack.github.io/rack/3.2/index.html' ,
9+ code : 'https://github.com/rack/rack'
10+ }
11+
12+ options [ :root_title ] = 'Rack'
13+
14+ options [ :attribution ] = <<-HTML
15+ © 2007-2021 Leah Neukirchen< br >
16+ Licensed under the MIT License.
17+ HTML
18+
19+ def get_latest_version ( opts )
20+ get_latest_github_release ( 'rack' , 'rack' , opts )
21+ end
22+ end
23+ end
Original file line number Diff line number Diff line change 1+ https://github.com/rack/rack/blob/main/contrib/logo.webp
You can’t perform that action at this time.
0 commit comments