mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-07-28 16:18:20 +08:00
Compare commits
3 Commits
1270fdccb3
...
07c67a215b
Author | SHA1 | Date | |
---|---|---|---|
07c67a215b | |||
afa091ccce | |||
cccfc1e1a4 |
@ -16,11 +16,17 @@ steps:
|
||||
- bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems
|
||||
- bundle install
|
||||
- bundle exec jekyll build
|
||||
- bash scripts/copy_index_json.sh
|
||||
volumes:
|
||||
- name: dist
|
||||
path: /drone/src/_site
|
||||
- name: cache
|
||||
path: /drone/src/.jekyll-cache
|
||||
|
||||
volumes:
|
||||
- name: dist
|
||||
host:
|
||||
path: /home/ubuntu/docs.hmcl.net
|
||||
path: /home/ubuntu/docs.hmcl.net/site
|
||||
- name: cache
|
||||
host:
|
||||
path: /home/ubuntu/docs.hmcl.net/cache
|
||||
|
22
index.json
Normal file
22
index.json
Normal file
@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"title": "启动器",
|
||||
"items": [
|
||||
{
|
||||
"title": "Authlib-Injector 服务器设置指南",
|
||||
"subtitle": "手动打包整合包后,初次打开动器时直接弹出对应的账号登录页",
|
||||
"url": "https://hmcl.huangyuhui.net/help/launcher/authlib-injector.html"
|
||||
},
|
||||
{
|
||||
"title": "数据包制作指南",
|
||||
"subtitle": "制作可以由 HMCL 导入的数据包",
|
||||
"url": "https://hmcl.huangyuhui.net/help/launcher/datapack.html"
|
||||
},
|
||||
{
|
||||
"title": "服务端自动更新整合包制作教程",
|
||||
"subtitle": "服务端自动更新整合包允许启动器根据服主配置强制更新玩家游戏客户端",
|
||||
"url": "https://hmcl.huangyuhui.net/help/launcher/serverpack.html"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
6
scripts/copy_index_json.sh
Normal file
6
scripts/copy_index_json.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ROOT=$(dirname $0)/../
|
||||
cd $ROOT
|
||||
|
||||
cp index.json _site/index.json
|
Loading…
Reference in New Issue
Block a user