Skip to content

Commit 5ec88c9

Browse files
committed
Ignored top of repository for public directory for docs.ruby-lang.org
1 parent ba6880e commit 5ec88c9

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.gitignore

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/sources/
2-
/*/1.8.*
3-
/*/1.9.*
4-
/*/2.*
5-
/*/trunk
2+
/**/1.*
3+
/**/2.*
4+
/**/trunk
65
.capistrano
76
/log

config/deploy.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
set :application, 'docs.ruby-lang.org'
22
set :repo_url, 'https://github.com/ruby/docs.ruby-lang.org'
33
set :deploy_to, '/var/www/docs.ruby-lang.org'
4-
set :linked_dirs, %w{sources en/1.8.7 en/1.9.3 en/2.0.0 en/2.1.0 en/2.2.0 en/2.3.0 en/2.4.0 en/trunk ja/1.8.7 ja/1.9.3 ja/2.0.0 ja/2.1.0 ja/2.2.0 ja/2.3.0 ja/2.4.0 ja/latest}
4+
5+
versions = %w[1.8.7 1.9.3 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 trunk]
6+
set :linked_dirs, ["sources"] + vesrions.map{|v| ["public/en/#{v}", "public/ja/#{v}"]}.flatten
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)