Skip to content

Commit d31893f

Browse files
committed
Use master branch instead of trunk
1 parent 6a19ce1 commit d31893f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require 'rdoc/task'
22

33
versions = {
4-
"trunk" => "trunk",
4+
"master" => "master",
55
"2.6.0" => "ruby_2_6",
66
"2.5.0" => "ruby_2_5",
77
"2.4.0" => "ruby_2_4",

config/deploy.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
set :repo_url, 'https://github.com/ruby/docs.ruby-lang.org'
33
set :deploy_to, '/var/www/docs.ruby-lang.org'
44

5-
versions = %w[1.8.7 1.9.3 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 2.6.0 trunk]
5+
versions = %w[1.8.7 1.9.3 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 2.6.0 master]
66
set :linked_dirs, ["sources", "public/ja/latest"] + versions.map{|v| ["public/en/#{v}", "public/ja/#{v}"]}.flatten

public/en/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<h1>Documentation for Ruby</h1>
2121
</div>
2222
<div class="list-group">
23-
<a class="list-group-item" href="./trunk/">Ruby trunk</a>
23+
<a class="list-group-item" href="./master/">Ruby master</a>
2424
<a class="list-group-item" href="./2.6.0/">Ruby 2.6.0</a>
2525
<a class="list-group-item" href="./2.5.0/">Ruby 2.5.0</a>
2626
<a class="list-group-item" href="./2.4.0/">Ruby 2.4.0</a>

system/rdoc-static-all

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ VERSIONS = %w[
44
2.4.0
55
2.5.0
66
2.6.0
7-
trunk
7+
master
88
]
99

1010
DOC_ROOT = ENV.fetch('DOC_ROOT', "/var/www/docs.ruby-lang.org/shared/public/en")

0 commit comments

Comments
 (0)