Project

General

Profile

DocumentationRubydocs » History » Version 4

cryptogopher, 2023-04-14 22:21

1 1 cryptogopher
h1. Generating Ruby+Rails documentation
2
3
<pre>
4
cd /var/www/localhost/htdocs/rubydocs
5
6 3 cryptogopher
git clone --branch v2_7_7 --depth 1 https://github.com/ruby/ruby.git
7
sdoc --all --exclude='test/*' --exclude='spec/*' --main=ruby/README.md --output=ruby-2.7.7 ruby
8 1 cryptogopher
9 4 cryptogopher
git clone --branch v7.0.4.3 --depth 1 https://github.com/rails/rails.git
10
sdoc --all --exclude='test/*' --exclude='spec/*' --main=ruby/README.md --output=rails-7.0.4.3 rails
11 1 cryptogopher
12 4 cryptogopher
sdoc-merge --op=ruby-2.7-rails-7.0-nontest ruby-2.7.7 rails-7.0.4.3
13 1 cryptogopher
14 4 cryptogopher
rm -rf ruby/ ruby-2.7.7/ rails/ rails-7.0.4.3/
15 1 cryptogopher
</pre>