Skip to content

Commit

Permalink
Modify homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkCWK authored and DarkCWK committed Aug 4, 2024
1 parent 34f7dac commit cacaae2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 27 deletions.
9 changes: 2 additions & 7 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,8 @@ module.exports = {
collapsed: false,
items: [
{
text: "开始",
link: "/Lagrange.Core/Start/",
collapsed: true,
items: [
{ text: "快速上手", link: "/Lagrange.Core/QuickStart" },
{ text: "创建 Bot 实例", link: "/Lagrange.Core/Start/CreateBot" },
],
text: "创建 Bot 实例",
link: "/Lagrange.Core/CreateBot/"
},
{
text: "登录",
Expand Down
File renamed without changes.
11 changes: 0 additions & 11 deletions docs/Lagrange.Core/QuickStart.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/Lagrange.Core/Start/index.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/Lagrange.Core/index.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# Lagrange.Core

## 快速开始

1. 使用以下任一方案引用 `Lagrange.Core`
- 从 Nuget 导入 [Lagrange.Core](https://www.nuget.org/packages/Lagrange.Core) 到你的项目 (版本可能不为最新版本)
- 通过 git submodule 功能将 [Lagrange.Core](https://github.com/LagrangeDev/Lagrange.Core) 作为解决方案中的项目, 并在你的项目中引用
2. [创建 Bot 实例](/Lagrange.Core/CreateBot/)
3. [登录](/Lagrange.Core/Login/)
4. [监听并处理 Bot 收到的消息等事件](/Lagrange.Core/Event/)
5. [发送消息](/Lagrange.Core/Send/)

恭喜你, 到这里你已经学废写鸡气人辣, 赶紧逝世罢
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Lagrange.Core 是一个开源的 NTQQ 协议实现, 当前处于稳定期, 免

### "已经是一名熟练的 C# Dev 了?"

[Lagrange.Core.Test](https://github.com/LagrangeDev/Lagrange.Core/tree/master/Lagrange.Core.Test) 内涵简单的登陆和测试案例
前往 [Lagrange.Core](./Lagrange.Core/index.md) 查看 API 文档

### "希望对接其他 Bot 框架 (NoneBot2, Koishi ...)"

[Lagrange.OneBot](https://github.com/LagrangeDev/Lagrange.Core/tree/master/Lagrange.OneBot) 详细的基于 Lagrange.Core 的 OneBot V11 实现
前往 [Lagrange.OneBot](./Lagrange.OneBot/index.md) 查看如何配置 `Lagrange.OneBot`

0 comments on commit cacaae2

Please sign in to comment.