Project

General

Profile

DocumentationRubydocs » History » Version 7

cryptogopher, 2024-01-11 19:55

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