Project

General

Profile

DocumentationRubydocs » History » Revision 4

Revision 3 (cryptogopher, 2023-04-14 22:14) → Revision 4/7 (cryptogopher, 2023-04-14 22:21)

h1. Generating Ruby+Rails documentation 

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

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

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

 sdoc-merge --op=ruby-2.7-rails-7.0-nontest ruby-2.7.7 rails-7.0.4.3 --op=redmine-5.0 ruby-2.7.6 rails-6.1.6 

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