mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-02-22 14:34:03 +08:00
feat: index json
This commit is contained in:
parent
cccfc1e1a4
commit
afa091ccce
@ -16,6 +16,7 @@ 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
|
||||
|
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