Project

General

Profile

DocumentationRubydocs » History » Revision 3

Revision 2 (cryptogopher, 2023-04-14 22:01) → Revision 3/7 (cryptogopher, 2023-04-14 22:14)

h1. Generating Ruby+Rails documentation 

 <pre> 
 cd /var/www/localhost/htdocs/rubydocs 

 git clone --branch v2_7_7 v2_7_6 --depth 1 https://github.com/ruby/ruby.git 
 sdoc --all --exclude='test/*' --exclude='spec/*' --exclude='spec/' --main=ruby/README.md --output=ruby-2.7.7 --output=ruby-2.7.6 ruby 

 git clone --branch v6.1.6 --depth 1 https://github.com/rails/rails.git 
 sdoc --all --exclude='spec/' --main=ruby/README.md --output=rails-6.1.6 rails 

 sdoc-merge --op=redmine-5.0 ruby-2.7.6 rails-6.1.6 

 rm -rf ruby/ ruby-2.7.6/ rails/ rails-6.1.6/ 
 </pre>