Skip to content

Commit 70a03b7

Browse files
committed
Add 2.6.0
1 parent 7a5ca3c commit 70a03b7

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

Rakefile

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

33
versions = {
44
"trunk" => "trunk",
5+
"2.6.0" => "ruby_2_6",
56
"2.5.0" => "ruby_2_5",
67
"2.4.0" => "ruby_2_4",
78
"2.3.0" => "ruby_2_3",

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 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 trunk]
66
set :linked_dirs, ["sources", "public/ja/latest"] + versions.map{|v| ["public/en/#{v}", "public/ja/#{v}"]}.flatten

public/en/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ <h1>Documentation for Ruby</h1>
2121
</div>
2222
<div class="list-group">
2323
<a class="list-group-item" href="./trunk/">Ruby trunk</a>
24+
<a class="list-group-item" href="./2.6.0/">Ruby 2.6.0</a>
2425
<a class="list-group-item" href="./2.5.0/">Ruby 2.5.0</a>
2526
<a class="list-group-item" href="./2.4.0/">Ruby 2.4.0</a>
2627
<a class="list-group-item" href="./2.3.0/">Ruby 2.3.0</a>

public/ja/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ <h1>プログラミング言語 Ruby リファレンスマニュアル</h1>
2424
<div class="list-group-item list-group-item-info">
2525
常に最新のバージョンのドキュメントを参照したい場合は上のリンク先が使えます。
2626
</div>
27+
<a class="list-group-item" href="./2.6.0/doc/index.html">Ruby 2.6</a>
2728
<a class="list-group-item" href="./2.5.0/doc/index.html">Ruby 2.5</a>
2829
<a class="list-group-item" href="./2.4.0/doc/index.html">Ruby 2.4</a>
2930
<a class="list-group-item" href="./2.3.0/doc/index.html">Ruby 2.3</a>

system/bc-setup-all

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ VERSIONS = %w[
44
2.3.0
55
2.4.0
66
2.5.0
7+
2.6.0
78
]
89

910
RUBY = "ruby"

system/bc-static-all

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ VERSIONS = %w[
44
2.3.0
55
2.4.0
66
2.5.0
7+
2.6.0
78
]
89

910
RUBY = "ruby"

system/rdoc-static-all

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ VERSIONS = %w[
44
2.3.0
55
2.4.0
66
2.5.0
7+
2.6.0
78
trunk
89
]
910

0 commit comments

Comments
 (0)