Skip to content

Commit 53b2383

Browse files
committed
docs: migrate features to index.md, add portals
1 parent 2c77c15 commit 53b2383

3 files changed

Lines changed: 17 additions & 14 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,11 @@
22

33
<div align="center">
44

5-
[![QQ 群](https://img.shields.io/badge/QQ_Group-570335215-green?logo=qq)](https://qm.qq.com/q/C04kPQzayk)
6-
[![Telegram](https://img.shields.io/badge/Telegram-WeavingStar-orange?logo=telegram)](https://t.me/WeavingStar)
7-
[![Maven Central](https://img.shields.io/maven-central/v/org.ntqqrev/saltify-core?label=Maven%20Central&logo=maven)](https://central.sonatype.com/artifact/org.ntqqrev/saltify-core)
5+
[![Maven Central](https://img.shields.io/maven-central/v/org.ntqqrev/saltify-core?style=for-the-badge&label=Maven%20Central&logo=maven)](https://central.sonatype.com/artifact/org.ntqqrev/saltify-core)
86

97
</div>
108

11-
## 特性
12-
13-
- 基于 Ktor Client 和 Kotlinx Serialization 实现
14-
- 兼容 JVM / Native / JS / WASM 平台
15-
- 支持 Milky 协议的所有功能
16-
- 例外:不支持通过 WebHook 事件推送监听事件
17-
- 支持插件化开发、命令路由、事件监听等功能的 DSL
9+
- [官方文档](https://saltify.ntqqrev.org/)
10+
- [Milky 协议文档](https://milky.ntqqrev.org/)
11+
- [QQ 群](https://qm.qq.com/q/C04kPQzayk)
12+
- [Telegram](https://t.me/WeavingStar)

‎saltify-docs/.vitepress/config.mts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ export default defineConfig({
1010
// https://vitepress.dev/reference/default-theme-config
1111
nav: [
1212
{ text: '主页', link: '/' },
13+
{ text: 'Milky', link: 'https://milky.ntqqrev.org/' },
1314
],
1415

1516
sidebar: [
16-
{
17-
text: '快速上手',
18-
link: '/quick-tour',
19-
},
17+
{ text: '快速上手', link: '/quick-tour' },
2018
],
2119

2220
socialLinks: [
2321
{ icon: 'github', link: 'https://github.com/SaltifyDev/saltify' },
22+
{ icon: 'qq', link: 'https://qm.qq.com/q/C04kPQzayk' },
23+
{ icon: 'telegram', link: 'https://t.me/WeavingStar' },
2424
],
2525
},
2626
});

‎saltify-docs/content/index.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,12 @@ hero:
88
- theme: brand
99
text: 快速上手
1010
link: /quick-tour
11+
12+
features:
13+
- title: 现代化基础设施
14+
details: 基于 Ktor Client 与 Kotlinx Serialization 实现,高效稳定
15+
- title: 跨平台支持
16+
details: 兼容 Kotlin JVM / Native / JS / WASM 平台,一套代码覆盖更多运行环境
17+
- title: 丰富功能
18+
details: 支持 Milky 协议所有 API / 事件,支持插件化开发、命令路由、事件监听等 DSL
1119
---

0 commit comments

Comments
 (0)