Skip to content

Commit 35c56b3

Browse files
committed
add zh-cn site config
1 parent 6a8a4bd commit 35c56b3

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Bundler configuration file [http://gembundler.com]
22
# Read the rationale for it and how it works at http://gembundler.com/v1.3/rationale.html
33

4-
source 'https://rubygems.org'
4+
# source 'https://rubygems.org'
5+
source 'https://gems.ruby-china.org'
56

67
gem 'awestruct', '0.5.7'
78
#gem 'awestruct', github: 'awestruct/awestruct', branch: 'master'
@@ -22,6 +23,8 @@ gem 'rake', '10.5.0', :group => :test
2223
gem 'rdoc', '4.2.2', :group => :test
2324
gem 'tomdoc', '0.2.5', :group => :test
2425
gem 'html-proofer', '3.0.2', :group => :test
26+
gem 'htmlcompressor', '~> 0.3.1'
27+
gem 'uglifier', '~> 3.0', '>= 3.0.4'
2528

2629
# required to use the minify extension
2730
#gem 'uglifier', '2.7.2'

_config/site.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,20 @@ profiles:
5252
deploy:
5353
host: github_pages
5454
branch: gh-pages
55+
zh_prod:
56+
base_url: http://asciidoctor.cn
57+
disqus_developer: false
58+
# long-hand form for Asciidoctor
59+
google_analytics_account: UA-38215684-1
60+
google_analytics:
61+
account: UA-38215684-1
62+
scss:
63+
:line_numbers: false
64+
:style: :compressed
65+
#compass_output_style: compressed
66+
# TODO enable minify once we verify it's working as expected
67+
#minify: true
68+
deploy:
69+
host: asciidoctor.cn
70+
username: deployer
71+
path: /home/deployer/asciidoctor.cn/html

0 commit comments

Comments
 (0)