From 21942efa2ba679cd4e3ae71dcf2b41d32f0116b7 Mon Sep 17 00:00:00 2001 From: Misa Liu Date: Sat, 27 Apr 2024 23:22:24 +0800 Subject: [PATCH] feat(docs): Update icon --- docs/.vuepress/navbar.ts | 2 +- docs/.vuepress/sidebar.ts | 6 ++++++ docs/README.md | 3 +++ docs/config/README.md | 3 +++ docs/start/README.md | 3 +++ docs/start/installation.md | 3 +++ docs/start/preparation.md | 3 +++ docs/start/usage.md | 3 +++ 8 files changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/navbar.ts b/docs/.vuepress/navbar.ts index 35d382b..dc3dc0f 100644 --- a/docs/.vuepress/navbar.ts +++ b/docs/.vuepress/navbar.ts @@ -9,7 +9,7 @@ export default navbar([ }, { text: "配置文件", - icon: "lightbulb", + icon: "file", prefix: "/config/", link: "/config/", }, diff --git a/docs/.vuepress/sidebar.ts b/docs/.vuepress/sidebar.ts index 183a335..d0d83aa 100644 --- a/docs/.vuepress/sidebar.ts +++ b/docs/.vuepress/sidebar.ts @@ -5,21 +5,26 @@ export default sidebar({ { text: '开始使用', prefix: 'start/', + icon: 'lightbulb', children: [ { text: '序言', + icon: 'face-smile', link: 'index', }, { text: '准备工作', + icon: 'list', link: 'preparation', }, { text: '安装 NapCatReforged', + icon: 'download', link: 'installation', }, { text: '运行 NapCatReforged', + icon: 'floppy-disk', link: 'usage', }, ] @@ -27,6 +32,7 @@ export default sidebar({ { text: '配置文件', prefix: 'config/', + icon: 'file', link: 'config/' } ], diff --git a/docs/README.md b/docs/README.md index f483f00..374c5db 100644 --- a/docs/README.md +++ b/docs/README.md @@ -11,6 +11,9 @@ actions: icon: lightbulb link: ./start/ type: primary + - text: 配置文件 + icon: file + link: ./config/ copyright: false footer: false diff --git a/docs/config/README.md b/docs/config/README.md index 9bba65e..7bf92e3 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -1,3 +1,6 @@ +--- +icon: file +--- # 配置文件 NapCatReforged 使用 [YAML](https://yaml.org/) 作为配置文件格式。本章将给出完整的、带注释的配置文件供您参考。 diff --git a/docs/start/README.md b/docs/start/README.md index 8e925c2..5df8593 100644 --- a/docs/start/README.md +++ b/docs/start/README.md @@ -1,3 +1,6 @@ +--- +icon: face-smile +--- # 开始使用 欢迎使用 NapCatReforged!本项目由 NapCatQQ 分出,旨在尽量以自己的口味重构 NapCatQQ。 diff --git a/docs/start/installation.md b/docs/start/installation.md index a857bf4..722cfd7 100644 --- a/docs/start/installation.md +++ b/docs/start/installation.md @@ -1,3 +1,6 @@ +--- +icon: download +--- # 安装 NapCatReforged 目前 NapCatReforged 有两个版本: diff --git a/docs/start/preparation.md b/docs/start/preparation.md index fb01f66..fbc6c88 100644 --- a/docs/start/preparation.md +++ b/docs/start/preparation.md @@ -1,3 +1,6 @@ +--- +icon: list +--- # 准备工作 由于 NapCatQQ 依赖官方的 QQNT 运行,所以首先需要在系统上安装 QQNT。 diff --git a/docs/start/usage.md b/docs/start/usage.md index 9c1d146..eb26917 100644 --- a/docs/start/usage.md +++ b/docs/start/usage.md @@ -1,3 +1,6 @@ +--- +icon: floppy-disk +--- # 运行 NapCatReforged ## Windows 用户