Project

General

Profile

DocumentationRubydocs » History » Revision 2

Revision 1 (cryptogopher, 2022-09-16 01:32) → Revision 2/7 (cryptogopher, 2023-04-14 22:01)

h1. Generating Ruby+Rails documentation 

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

 git clone --branch v2_7_6 --depth 1 https://github.com/ruby/ruby.git 
 sdoc --all --exclude='spec/' --main=ruby/README.md --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>