Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
nav: [
{
text: "快速开始",
link: "/getting-started/read-milky-document",
link: "/getting-started/overview",
},
{
text: "配置",
Expand All @@ -25,8 +25,8 @@ export default defineConfig({
text: "快速开始",
items: [
{
text: "阅读 Milky 文档",
link: "/getting-started/read-milky-document",
text: "总览",
link: "/getting-started/overview",
},
{
text: "下载",
Expand All @@ -35,6 +35,10 @@ export default defineConfig({
{
text: "运行",
link: "/getting-started/run",
},
{
text: "对接框架",
link: "/getting-started/integrate-framework",
},
{
text: "Q&A",
Expand Down
4 changes: 2 additions & 2 deletions src/configuration/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"GetOptimumServer": true,
},
"Signer": {
"Base": "https://sign.lagrangecore.org/api/sign",
"Version": "30366",
"Url": "https://sign.lagrangecore.org",
"Token": null,
"ProxyUrl": null,
},
"Login": {
Expand Down
1 change: 1 addition & 0 deletions src/getting-started/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
| ----------- | ------------------------ |
| Windows x64 | Lagrange.Milky-win-x64 |
| Linux x64 | Lagrange.Milky-linux-x64 |
| macOS arm64 | Lagrange.Milky-osx-arm64 |

2. 解压下载的压缩包
7 changes: 7 additions & 0 deletions src/getting-started/integrate-framework.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 对接框架

## 对接 Koishi

1. 在 Koishi 插件市场搜索并安装 adapter-milky
2. 配置 adapter-milky,`endpoint` 配置项填写 Lagrange.Milky 的 Milky 服务的地址(如 http://127.0.0.1:3000),`token` 配置项填写 Milky 服务的 access token(没有则不填写)
3. 启用 adapter-milky,即可使 Koishi 连接到 Lagrange.Milky
5 changes: 5 additions & 0 deletions src/getting-started/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 总览

想要使用 Lagrange.Milky,我们可以先[下载](./download.md),然后[运行](./run.md),接着[对接框架](./integrate-framework.md)

此实现是基于 Milky 协议的实现,非框架用户请先阅读 [Milky 协议文档](https://milky.ntqqrev.org/),避免因为不熟悉需要多次配置和 Debug
5 changes: 0 additions & 5 deletions src/getting-started/read-milky-document.md

This file was deleted.

1 change: 1 addition & 0 deletions src/getting-started/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ chmod +x ./Lagrange.Milky
::: info 信息
第一次启动时将会提示 `Please edit the configuration file and press any key to continue starting the application.`\
此时可以根据 [Configuration](../configuration/overview.md) 修改生成的默认配置文件\
请务必参考 [SignApiGuide](https://github.com/LagrangeDev/SignApiGuide) 填写 Signer 的 Token 以及 Login 的 Uin\
然后按任意键继续启动
:::

Expand Down
2 changes: 1 addition & 1 deletion src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hero:
tagline: 基于 Lagrange.Core V2 的 Milky 协议实现
actions:
- text: 快速开始
link: /getting-started/read-milky-document
link: /getting-started/overview
- text: 配置
link: /configuration/overview
- theme: "alt"
Expand Down