Skip to content

Commit 23594d2

Browse files
committed
支持多语言
1 parent 8c0f504 commit 23594d2

File tree

336 files changed

+565
-231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

336 files changed

+565
-231
lines changed

.drone.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,7 @@ steps:
1111
environment:
1212
JEKYLL_ENV: production
1313
commands:
14-
- touch Gemfile.lock
15-
- chmod a+w Gemfile.lock
16-
- chown -R jekyll:jekyll /drone
17-
- gem sources --add https://mirrors.cloud.tencent.com/rubygems/ --remove https://rubygems.org/
18-
- bundle config mirror.https://rubygems.org https://mirrors.cloud.tencent.com/rubygems
19-
- bundle install
20-
- bundle exec jekyll build --trace --verbose
21-
- bash scripts/copy_index_json.sh
14+
- bash scripts/build.sh
2215
volumes:
2316
- name: dist
2417
path: /drone/src/_site

_config.en.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
title: HMCL Help Document
2+
locale: en
3+
4+
head_scripts:
5+
- /assets/js/theme.en.js

0 commit comments

Comments
 (0)