DocumentationRubydocs » History » Version 2
  cryptogopher, 2023-04-14 22:01 
  
| 1 | 1 | cryptogopher | h1. Generating Ruby+Rails documentation  | 
|---|---|---|---|
| 2 | |||
| 3 | <pre>  | 
||
| 4 | cd /var/www/localhost/htdocs/rubydocs  | 
||
| 5 | |||
| 6 | git clone --branch v2_7_6 --depth 1 https://github.com/ruby/ruby.git  | 
||
| 7 | 2 | cryptogopher | sdoc --all --exclude='spec/' --main=ruby/README.md --output=ruby-2.7.6 ruby  | 
| 8 | 1 | cryptogopher | |
| 9 | git clone --branch v6.1.6 --depth 1 https://github.com/rails/rails.git  | 
||
| 10 | 2 | cryptogopher | sdoc --all --exclude='spec/' --main=ruby/README.md --output=rails-6.1.6 rails  | 
| 11 | 1 | cryptogopher | |
| 12 | sdoc-merge --op=redmine-5.0 ruby-2.7.6 rails-6.1.6  | 
||
| 13 | |||
| 14 | rm -rf ruby/ ruby-2.7.6/ rails/ rails-6.1.6/  | 
||
| 15 | </pre>  |