DocumentationRubydocs » History » Revision 6
Revision 5 (cryptogopher, 2023-11-02 03:05) → Revision 6/7 (cryptogopher, 2023-11-02 03:06)
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 --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/
</pre>