Project

General

Profile

DocumentationRubydocs » History » Version 1

cryptogopher, 2022-09-16 01:32

1 1 cryptogopher
h1. Generating Ruby+Rails documentation
2
3
<pre>
4
cd /var/www/localhost/htdocs/rubydocs
5
6
git clone --branch v2_7_6 --depth 1 https://github.com/ruby/ruby.git
7
sdoc --all --main=ruby/README.md --output=ruby-2.7.6 ruby
8
9
git clone --branch v6.1.6 --depth 1 https://github.com/rails/rails.git
10
sdoc --all --main=ruby/README.md --output=rails-6.1.6 rails
11
12
sdoc-merge --op=redmine-5.0 ruby-2.7.6 rails-6.1.6
13
14
rm -rf ruby/ ruby-2.7.6/ rails/ rails-6.1.6/
15
</pre>