Project

General

Profile

Actions

DocumentationRubydocs » History » Revision 5

« Previous | Revision 5/7 (diff) | Next »
cryptogopher, 2023-11-02 03:05


Generating Ruby+Rails documentation

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 --depth 1 https://github.com/rails/rails.git
sdoc --all --exclude='test/*' --exclude='spec/*' --main=rails/README.md --output=rails-7.0.4.3 rails

sdoc-merge --op=ruby-2.7-rails-7.0-nontest ruby-2.7.7 rails-7.0.4.3

rm -rf ruby/ ruby-2.7.7/ rails/ rails-7.0.4.3/

Updated by cryptogopher about 1 year ago · 5 revisions

Also available in: PDF HTML TXT