Skip to content

Commit c3d44de

Browse files
committed
Migrate Lagrange.Milky's documentation
1 parent f552266 commit c3d44de

File tree

6 files changed

+4
-181
lines changed

6 files changed

+4
-181
lines changed

docs/v2/.vitepress/catalogue.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,4 @@ export const nativeAPISidebar = {
4747
link: "/Lagrange.Core.NativeAPI/",
4848
}
4949
],
50-
}
51-
52-
export const milkySidebar = {
53-
text: "Lagrange.Milky",
54-
base: "",
55-
items: [
56-
{
57-
text: "Lagrange.Milky",
58-
link: "/Lagrange.Milky/",
59-
},
60-
{
61-
text: "快速开始",
62-
items: [
63-
{
64-
text: "启动 & 配置",
65-
link: "/Lagrange.Milky/Config/",
66-
}
67-
]
68-
}
69-
],
7050
}

docs/v2/.vitepress/nav.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,4 @@ export const nativeAPINav = {
1717
link: "/Lagrange.Core.NativeAPI/",
1818
}
1919
],
20-
}
21-
22-
export const milkyNav = {
23-
text: "Lagrange.Milky",
24-
base: "",
25-
items: [
26-
{
27-
text: "Lagrange.Milky",
28-
link: "/Lagrange.Milky/",
29-
},
30-
{
31-
text: "快速开始",
32-
link: "/Lagrange.Milky/Config/",
33-
},
34-
],
3520
}

docs/v2/.vitepress/theme.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DefaultTheme } from "vitepress"
2-
import {coreSidebar, milkySidebar, nativeAPISidebar} from "./catalogue"
3-
import {coreNav, milkyNav, nativeAPINav} from "./nav"
2+
import {coreSidebar, nativeAPISidebar} from "./catalogue"
3+
import {coreNav, nativeAPINav} from "./nav"
44

55
export const theme: DefaultTheme.Config = {
66
search: {
@@ -18,7 +18,6 @@ export const theme: DefaultTheme.Config = {
1818
},
1919
coreNav,
2020
nativeAPINav,
21-
milkyNav,
2221
{
2322
text: "GitHub",
2423
items: [
@@ -32,7 +31,6 @@ export const theme: DefaultTheme.Config = {
3231
sidebar: {
3332
"/Lagrange.Core/": coreSidebar,
3433
"/Lagrange.Core.NativeAPI/": nativeAPISidebar,
35-
"/Lagrange.Milky/": milkySidebar
3634
} as DefaultTheme.SidebarMulti,
3735
socialLinks: [
3836
{ icon: "github", link: "https://github.com/LagrangeDev/Lagrange.Doc" },

docs/v2/Lagrange.Milky/Config/index.md

Lines changed: 0 additions & 126 deletions
This file was deleted.

docs/v2/Lagrange.Milky/index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
# Lagrange.Milky
22

3-
Lagrange.Milky 是 [Milky](https://milky.ntqqrev.org/) 协议的实现,可用于和 NoneBot 等机器人框架进行集成。
4-
5-
## 获取
6-
7-
目前 Lagrange.Milky 尚未发布 Release,尝鲜构建版本可从 [Actions](https://github.com/LagrangeDev/LagrangeV2/actions/workflows/milky-build.yaml) 获取。使用过程中出现 Bug 请及时反馈。
8-
9-
Lagrange.Milky 使用了 Native AOT 技术,**无需 .NET 运行时**,目前支持的平台如下:
10-
- Windows x64
11-
- Linux x64
3+
迁移至 https://lagrangedev.github.io/Lagrange.Milky.Document

docs/v2/index.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ hero:
99
link: ./Lagrange.Core/index
1010
- text: 使用 Native API
1111
link: ./Lagrange.NativeAPI/index
12-
- text: 使用 Milky
13-
link: ./Lagrange.Milky/index
1412
---
1513

1614
Lagrange.Core 是一个开源的 NTQQ 协议实现,免责声明详见项目主页。
@@ -23,12 +21,8 @@ Lagrange.Core 是一个开源的 NTQQ 协议实现,免责声明详见项目主
2321

2422
前往 [Lagrange.Core.NativeAPI](./Lagrange.Core.NativeAPI/index.md) 查看如何通过 C ABI 调用 Lagrange.Core,提供 64 位的本机 DLL 和 SO,支持 C、C++、Go、Python、Rust 等语言
2523

26-
### "希望对接其他 Bot 框架 (~~NoneBot, Koishi, Saltify, etc~~)?"
27-
28-
前往 [Lagrange.Milky](./Lagrange.Milky/index.md) 查看部署文档
29-
3024
### "……等等,Lagrange.OneBot 去哪里了?"
3125

3226
由于 OneBot 11 协议的[各种历史遗留问题](https://milky.ntqqrev.org/guide/introduction.html),我们最终决定,LagrangeV2 不再支持 OneBot 11 协议,V1 的 OneBot 11 协议实现也一并不再维护。
3327

34-
推荐改用以上方式进行对接。
28+
你可以使用以上方法或改用的 [Lagrange.Milky](https://lagrangedev.github.io/Lagrange.Milky.Document), Lagrange.Milky 是基于 LagrangeV2 的 [Milky](https://milky.ntqqrev.org) 协议实现

0 commit comments

Comments
 (0)