From d367903946130564b7c7720713b0c51d3a1e1024 Mon Sep 17 00:00:00 2001 From: snowy Date: Sat, 17 Aug 2024 02:24:25 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20=E6=B7=BB=E5=8A=A0=E8=8B=B1=E6=96=87?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=A1=86=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.ts | 1 - docs/.vuepress/navbar.ts | 2 +- docs/.vuepress/navbar/en.ts | 25 ++++++ docs/.vuepress/navbar/index.ts | 2 + docs/.vuepress/navbar/zh.ts | 26 ++++++ docs/.vuepress/public/js/get_data.js | 39 --------- docs/.vuepress/public/js/get_data_cn.js | 0 docs/.vuepress/public/js/get_data_en.js | 0 docs/.vuepress/sidebar/en.ts | 31 +++++++ docs/.vuepress/sidebar/index.ts | 2 + docs/.vuepress/{sidebar.ts => sidebar/zh.ts} | 4 +- docs/.vuepress/{theme.js => theme.ts} | 30 ++++--- docs/README.md | 42 +++++++++- docs/{deployment => deploy}/README.md | 0 docs/{deployment => deploy}/cfg.txt | 0 docs/{deployment => deploy}/config.md | 0 docs/{deployment => deploy}/fandq.md | 0 docs/{deployment => deploy}/install.md | 0 docs/en/README.md | 88 ++++++++++++++------ docs/en/{deployment => deploy}/README.md | 4 +- docs/en/{deployment => deploy}/cfg.txt | 0 docs/en/{deployment => deploy}/config.md | 7 +- docs/en/{deployment => deploy}/fandq.md | 7 +- docs/en/deploy/install.md | 61 ++++++++++++++ docs/en/deployment/install.md | 60 ------------- docs/en/dev/README.md | 2 +- docs/en/dev/dev_comm.md | 4 +- docs/en/dev/dev_lyfunc.md | 4 +- docs/en/dev/dev_lyplugin.md | 4 +- docs/en/dev/dev_resource_pack.md | 4 +- docs/en/store/README.md | 4 +- docs/en/store/plugin.md | 4 +- docs/en/store/resource.md | 4 +- docs/en/usage/README.md | 4 +- docs/en/usage/agreement.md | 4 +- docs/en/usage/basic_command.md | 4 +- docs/en/usage/extra_command.md | 4 +- docs/en/usage/lyapi.md | 13 --- docs/usage/lyapi.md | 13 --- 39 files changed, 306 insertions(+), 197 deletions(-) create mode 100644 docs/.vuepress/navbar/en.ts create mode 100644 docs/.vuepress/navbar/index.ts create mode 100644 docs/.vuepress/navbar/zh.ts delete mode 100644 docs/.vuepress/public/js/get_data.js create mode 100644 docs/.vuepress/public/js/get_data_cn.js create mode 100644 docs/.vuepress/public/js/get_data_en.js create mode 100644 docs/.vuepress/sidebar/en.ts create mode 100644 docs/.vuepress/sidebar/index.ts rename docs/.vuepress/{sidebar.ts => sidebar/zh.ts} (90%) rename docs/.vuepress/{theme.js => theme.ts} (89%) rename docs/{deployment => deploy}/README.md (100%) rename docs/{deployment => deploy}/cfg.txt (100%) rename docs/{deployment => deploy}/config.md (100%) rename docs/{deployment => deploy}/fandq.md (100%) rename docs/{deployment => deploy}/install.md (100%) rename docs/en/{deployment => deploy}/README.md (58%) rename docs/en/{deployment => deploy}/cfg.txt (100%) rename docs/en/{deployment => deploy}/config.md (98%) rename docs/en/{deployment => deploy}/fandq.md (98%) create mode 100644 docs/en/deploy/install.md delete mode 100644 docs/en/deployment/install.md delete mode 100644 docs/en/usage/lyapi.md delete mode 100644 docs/usage/lyapi.md diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 11a424b2..af8d6653 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -20,7 +20,6 @@ export default defineUserConfig({ head: [ // 设置 favor.ico,.vuepress/public 下 ["script", {src: "/js/style.js", "type": "module"}], - ["script", {src: "/js/get_data.js", "type": "module"}], ['link', {rel: 'icon', href: 'https://cdn.liteyuki.icu/favicon.ico'},], ['link', {rel: 'stylesheet', href: 'https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css'}], diff --git a/docs/.vuepress/navbar.ts b/docs/.vuepress/navbar.ts index fddb094b..004c1636 100644 --- a/docs/.vuepress/navbar.ts +++ b/docs/.vuepress/navbar.ts @@ -21,5 +21,5 @@ export default navbar([ text: "开发及贡献", link: "/dev/", prefix: "dev/", - } + }, ]); diff --git a/docs/.vuepress/navbar/en.ts b/docs/.vuepress/navbar/en.ts new file mode 100644 index 00000000..5f96bfc7 --- /dev/null +++ b/docs/.vuepress/navbar/en.ts @@ -0,0 +1,25 @@ +import {navbar} from "vuepress-theme-hope"; + +export const enNavbarConfig = navbar([ + "/en/", + { + text: "Deploy", + link: "/en/deploy/", + prefix: "deploy/", + }, + { + text: "Usage", + link: "/en/usage/", + prefix: "usage/", + }, + { + text: "Extensions", + link: "/en/store/", + prefix: "store/", + }, + { + text: "Contribute", + link: "/en/dev/", + prefix: "dev/", + }, +]); diff --git a/docs/.vuepress/navbar/index.ts b/docs/.vuepress/navbar/index.ts new file mode 100644 index 00000000..c16bf1ac --- /dev/null +++ b/docs/.vuepress/navbar/index.ts @@ -0,0 +1,2 @@ +export * from "./zh.js" +export * from "./en.js" \ No newline at end of file diff --git a/docs/.vuepress/navbar/zh.ts b/docs/.vuepress/navbar/zh.ts new file mode 100644 index 00000000..14c6cfb2 --- /dev/null +++ b/docs/.vuepress/navbar/zh.ts @@ -0,0 +1,26 @@ + +import {navbar} from "vuepress-theme-hope"; + +export const zhNavbarConfig = navbar([ + "/", + { + text: "安装及部署", + link: "/deploy/", + prefix: "deploy/", + }, + { + text: "使用及功能", + link: "/usage/", + prefix: "usage/", + }, + { + text: "资源及插件", + link: "/store/", + prefix: "store/", + }, + { + text: "开发及贡献", + link: "/dev/", + prefix: "dev/", + }, +]); diff --git a/docs/.vuepress/public/js/get_data.js b/docs/.vuepress/public/js/get_data.js deleted file mode 100644 index 6b4cb351..00000000 --- a/docs/.vuepress/public/js/get_data.js +++ /dev/null @@ -1,39 +0,0 @@ -// 定义全局变量来存储数据 -let globalTotal = 0; -let globalOnline = 0; - -// 从API获取数据并更新全局变量 -function fetchAndUpdateData() { - Promise.all([ - fetch("https://api.liteyuki.icu/count").then(res => res.json()), - fetch("https://api.liteyuki.icu/online").then(res => res.json()) - ]) - .then(([countRes, onlineRes]) => { - globalTotal = countRes.register; - globalOnline = onlineRes.online; - }) - .catch(err => { - console.error("Error fetching data:", err); - }); -} - -// 更新页面显示,使用全局变量中的数据 -function updatePageDisplay() { - let countInfo = document.getElementById("count-info"); - if (!countInfo) { - let info = `
- 全球实例:${globalTotal}    当前在线:${globalOnline}
`; - let mainDescription = document.querySelector("#main-description"); - if (mainDescription) { - mainDescription.insertAdjacentHTML('afterend', info); - } - } -} - -// 初始调用更新数据 -fetchAndUpdateData(); -updatePageDisplay(); - -// 设置定时器,分别以不同频率调用更新数据和更新页面的函数 -setInterval(fetchAndUpdateData, 10000); // 每10秒更新一次数据 -setInterval(updatePageDisplay, 1000); // 每1秒更新一次页面显示 \ No newline at end of file diff --git a/docs/.vuepress/public/js/get_data_cn.js b/docs/.vuepress/public/js/get_data_cn.js new file mode 100644 index 00000000..e69de29b diff --git a/docs/.vuepress/public/js/get_data_en.js b/docs/.vuepress/public/js/get_data_en.js new file mode 100644 index 00000000..e69de29b diff --git a/docs/.vuepress/sidebar/en.ts b/docs/.vuepress/sidebar/en.ts new file mode 100644 index 00000000..179eda79 --- /dev/null +++ b/docs/.vuepress/sidebar/en.ts @@ -0,0 +1,31 @@ +import {sidebar} from "vuepress-theme-hope"; + +export const enSidebarConfig = sidebar({ + "/en/": [ + "", + { + text: "Install & Deploy", + icon: "laptop-code", + prefix: "deploy/", + children: "structure", + }, + { + text: "Usage & Features", + icon: "book", + prefix: "usage/", + children: "structure", + }, + { + text: "Resources & Plugins", + icon: "store", + prefix: "store/", + children: "structure", + }, + { + text: "Development & Contribution", + icon: "pen-nib", + prefix: "dev/", + children: "structure", + } + ], +}); diff --git a/docs/.vuepress/sidebar/index.ts b/docs/.vuepress/sidebar/index.ts new file mode 100644 index 00000000..c16bf1ac --- /dev/null +++ b/docs/.vuepress/sidebar/index.ts @@ -0,0 +1,2 @@ +export * from "./zh.js" +export * from "./en.js" \ No newline at end of file diff --git a/docs/.vuepress/sidebar.ts b/docs/.vuepress/sidebar/zh.ts similarity index 90% rename from docs/.vuepress/sidebar.ts rename to docs/.vuepress/sidebar/zh.ts index 938fec84..01b8ded7 100644 --- a/docs/.vuepress/sidebar.ts +++ b/docs/.vuepress/sidebar/zh.ts @@ -1,12 +1,12 @@ import {sidebar} from "vuepress-theme-hope"; -export default sidebar({ +export const zhSidebarConfig = sidebar({ "/": [ "", { text: "安装及部署", icon: "laptop-code", - prefix: "deployment/", + prefix: "deploy/", children: "structure", }, { diff --git a/docs/.vuepress/theme.js b/docs/.vuepress/theme.ts similarity index 89% rename from docs/.vuepress/theme.js rename to docs/.vuepress/theme.ts index 48acf342..6952dd9d 100644 --- a/docs/.vuepress/theme.js +++ b/docs/.vuepress/theme.ts @@ -1,14 +1,30 @@ import {hopeTheme} from "vuepress-theme-hope"; import navbar from "./navbar.js"; -import sidebar from "./sidebar.js"; +import {enSidebarConfig, zhSidebarConfig} from "./sidebar/index.js"; +import {enNavbarConfig, zhNavbarConfig} from "./navbar/index.js"; export default hopeTheme({ hostname: "https://vuepress-theme-hope-docs-demo.netlify.app", - author: { - name: "远野千束", - url: "https://sfkm.me", + locales: { + "/": { + navbar: zhNavbarConfig, + sidebar: zhSidebarConfig, + author: { + name: "远野千束", + url: "https://sfkm.me", + } + }, + "/en/": { + navbar: enNavbarConfig, + sidebar: enSidebarConfig, + author: { + name: "SnowyKami", + url: "https://sfkm.me", + } + } + }, iconAssets: "fontawesome-with-brands", @@ -19,12 +35,6 @@ export default hopeTheme({ docsDir: "docs", - // 导航栏 - navbar, - - // 侧边栏 - sidebar, - // 页脚 footer: "LiteyukiBot", displayFooter: true, diff --git a/docs/README.md b/docs/README.md index c18d881e..6dd6ff3c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -79,5 +79,45 @@ highlights: details: 如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt。 - title: 使用 python main.py 启动项目。 copyright: © 2021-2024 SnowyKami All Rights Reserved - --- + \ No newline at end of file diff --git a/docs/deployment/README.md b/docs/deploy/README.md similarity index 100% rename from docs/deployment/README.md rename to docs/deploy/README.md diff --git a/docs/deployment/cfg.txt b/docs/deploy/cfg.txt similarity index 100% rename from docs/deployment/cfg.txt rename to docs/deploy/cfg.txt diff --git a/docs/deployment/config.md b/docs/deploy/config.md similarity index 100% rename from docs/deployment/config.md rename to docs/deploy/config.md diff --git a/docs/deployment/fandq.md b/docs/deploy/fandq.md similarity index 100% rename from docs/deployment/fandq.md rename to docs/deploy/fandq.md diff --git a/docs/deployment/install.md b/docs/deploy/install.md similarity index 100% rename from docs/deployment/install.md rename to docs/deploy/install.md diff --git a/docs/en/README.md b/docs/en/README.md index 846b8221..bb136ab1 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -30,54 +30,94 @@ highlights: background-repeat: repeat background-size: initial features: - - title: 支持多种框架 + - title: Multi-Framework Support icon: robot - details: 兼容nonebot,melobot等,拥有良好的生态支持 + details: Compatible with nonebot, melobot, etc., with good ecological support link: https://nonebot.dev/ - - title: 便捷管理 + - title: Convenient Management icon: plug - details: 使用包管理器,便捷管理插件及资源包 + details: Use package manager to manage plugins and resource packs - - title: 主题支持 + - title: Custom Themes Support icon: paint-brush - details: 使用资源包对外观进行完全自定义 + details: Fully customize the appearance with resource packs link: https://bot.liteyuki.icu/usage/resource_pack.html - - title: 国际化 + - title: i18n icon: globe - details: 通过资源包支持多种语言 + details: Support multiple languages through resource packs link: https://baike.baidu.com/item/i18n/6771940 - - title: 简易使用 + - title: Easy to Use icon: cog - details: 无需繁琐前期过程,开箱即用 + details: No need for cumbersome pre-processes, ready to use link: https://bot.liteyuki.icu/deployment/config.html - - title: 超高性能 + - title: High Performance icon: tachometer-alt - details: 500个插件,2s内启动 + details: 500 plugins, start within 2s - - title: 滚动更新 + - title: Rolling Update icon: cloud-download - details: 让你的机器人保持最新提交 + details: Keep your bot up to date - - title: 开源项目 + - title: OpenSource icon: code - details: 项目遵循MIT LICENCE开源,欢迎各位的贡献 + details: MIT LICENCE open source project, welcome your contribution - - header: 快速部署 + - header: Quick Start image: /assets/image/box.svg bgImage: https://theme-hope-assets.vuejs.press/bg/3-light.svg bgImageDark: https://theme-hope-assets.vuejs.press/bg/3-dark.svg highlights: - - title: 安装 Git 及 Python3.10+ - - title: 使用 git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 以克隆项目至本地。 - details: 如果无法连接到GitHub,可以使用 git clone https://gitee.com/snowykami/LiteyukiBot --depth=1。 - - title: 使用 cd LiteyukiBot 切换到项目目录。 - - title: 使用 pip install -r requirements.txt 安装项目依赖。 - details: 如果你有多个 Python 环境,请使用 pythonx -m pip install -r requirements.txt。 - - title: 使用 python main.py 启动项目。 + - title: Install Git and Python3.10+ environment + - title: Use git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 to clone the project locally + - title: Use cd LiteyukiBot to change the directory to the project root + - title: Use pip install -r requirements.txt install the project dependencies + details: If you have multiple Python environments, please use pythonx -m pip install -r requirements.txt. + - title: Start bot with python main.py. copyright: © 2021-2024 SnowyKami All Rights Reserved --- + \ No newline at end of file diff --git a/docs/en/deployment/README.md b/docs/en/deploy/README.md similarity index 58% rename from docs/en/deployment/README.md rename to docs/en/deploy/README.md index 934c319e..ed9de0ca 100644 --- a/docs/en/deployment/README.md +++ b/docs/en/deploy/README.md @@ -1,8 +1,8 @@ --- -title: 项目部署 +title: Deploy index: false icon: laptop-code -category: 部署 +category: deploy --- diff --git a/docs/en/deployment/cfg.txt b/docs/en/deploy/cfg.txt similarity index 100% rename from docs/en/deployment/cfg.txt rename to docs/en/deploy/cfg.txt diff --git a/docs/en/deployment/config.md b/docs/en/deploy/config.md similarity index 98% rename from docs/en/deployment/config.md rename to docs/en/deploy/config.md index 50067718..da2730c2 100644 --- a/docs/en/deployment/config.md +++ b/docs/en/deploy/config.md @@ -1,11 +1,10 @@ --- -title: 配置 +title: Configuration icon: cog order: 2 -category: 使用指南 +category: deployment tag: - - 配置 - - 部署 + - Configuration --- 轻雪支持`yaml`、`json`和`toml`作为配置文件,取决于你个人的喜好 diff --git a/docs/en/deployment/fandq.md b/docs/en/deploy/fandq.md similarity index 98% rename from docs/en/deployment/fandq.md rename to docs/en/deploy/fandq.md index 13d7d020..263e4af8 100644 --- a/docs/en/deployment/fandq.md +++ b/docs/en/deploy/fandq.md @@ -1,11 +1,10 @@ --- -title: 答疑 +title: FAQ icon: question order: 3 -category: 使用指南 +category: deployment tag: - - 配置 - - 部署 + - FAQ --- ## **常见问题** diff --git a/docs/en/deploy/install.md b/docs/en/deploy/install.md new file mode 100644 index 00000000..9f990dfc --- /dev/null +++ b/docs/en/deploy/install.md @@ -0,0 +1,61 @@ +--- +title: Installation +icon: download +order: 1 +category: deployment +tag: + - 安装 +--- + +## **Installation** + +### **Conventional deployment** + +1. Install [`Git`](https://git-scm.com/download/) and [`Python3.10+`](https://www.python.org/downloads/release/python-31010/) environment + +```bash +# Clone the project locally, --depth=1 to reduce the size of the cloned repository, this project updates depend on Git +git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 +# change the directory to the project root +cd LiteyukiBot +# install the project dependencies +pip install -r requirements.txt +# start bot +python main.py +``` + +> [!tip] +> Recommended to use `venv` to run Liteyuki to avoid dependency conflicts, you can use `python -m venv .venv` to create a virtual environment, and then use `.venv\Scripts\activate` to activate the virtual environment (use `source .venv/bin/activate` to activate on Linux) + +### **Use docker** + +1. Install [`Docker`](https://docs.docker.com/get-docker/) +2. Clone project repo `git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1` +3. change directory `cd LiteyukiBot` +4. build image with `docker build -t liteyukibot .` +5. start container `docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot` + +> [!tip] +> For Windows, please use the absolute project directory `/path/to/LiteyukiBot` instead of $(pwd) +> +> If you have changed the port number, replace `20216` in `20216:20216` with your port number + +### **Use TRSS Scripts** + [TRSS_Liteyuki LiteyukiBot manage script](https://timerainstarsky.github.io/TRSS_Liteyuki/), This feature is supported by TRSS and is not an official feature of LiteyukiBot. It is recommended to use Arch Linux. + + +## **Device requirements** + +- Minimum Windows system version: `Windows 10+` / `Windows Server 2019+` +- Linux systems need to support Python 3.10+, with `Ubuntu 20.04+` recommended +- CPU: `1 vCPU` and more(Bot is multi processes, the more cores, the better the performance) +- Memory: Without other plugins, the Bot will occupy `300~500MB`, including processes like `chromium` and `node`. The memory occupied by other plugins depends on the specific plugins, and it is recommended to have more than `1GB`. +- Storage: At least `1GB` of space is required. + +> [!warning] +> If there are multiple environments on the device, please use `path/to/python -m pip install -r requirements.txt` to install dependencies, where `path/to/python` is the path to your Python executable. + +> [!warning] +> The update feature of Liteyuki depends on Git. If you have not installed Git and directly download the source code to run, you will not be able to use the update feature. + +#### For other issues, please go to [Q&A](/deployment/fandq) \ No newline at end of file diff --git a/docs/en/deployment/install.md b/docs/en/deployment/install.md deleted file mode 100644 index 814a37cf..00000000 --- a/docs/en/deployment/install.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: 安装 -icon: download -order: 1 -category: 使用指南 -tag: - - 安装 ---- - -## **开始安装** - -### **常规部署** - -1. 安装 [`Git`](https://git-scm.com/download/) 和 [`Python3.10+`](https://www.python.org/downloads/release/python-31010/) 环境 - -```bash -# 克隆项目到本地,轻雪使用Git进行版本管理,该步骤为必要项 -git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1 -# 切换到Bot目录下 -cd LiteyukiBot -# 安装依赖 -pip install -r requirements.txt -# 启动Bot -python main.py -``` - -> [!tip] -> 推荐使用虚拟环境来运行轻雪,以避免依赖冲突,你可以使用`python -m venv .venv`来创建虚拟环境,然后使用`.venv\Scripts\activate`来激活虚拟环境(Linux下使用`source .venv/bin/activate`激活) - -### **使用Docker构建镜像部署** - -1. 安装 [`Docker`](https://docs.docker.com/get-docker/) -2. 克隆项目 `git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1` -3. 进入轻雪目录 `cd LiteyukiBot` -4. 构建镜像 `docker build -t liteyukibot .` -5. 启动容器 `docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot` - -> [!tip] -> Windows请使用项目绝对目录`/path/to/LiteyukiBot`代替`$(pwd)`
-> 若你修改了端口号请将`20216:20216`中的`20216`替换为你的端口号 - -### **使用TRSS Scripts部署** - [TRSS_Liteyuki轻雪机器人管理脚本](https://timerainstarsky.github.io/TRSS_Liteyuki/),该功能由TRSS提供支持,不是LiteyukiBot官方提供的功能,推荐使用`Arch Linux` - - -## **设备要求** - -- Windows系统版本最低`Windows10+`/`Windows Server 2019+` -- Linux系统要支持Python3.10+,推荐`Ubuntu 20.04+`(~~别用你那b CentOS~~) -- CPU: 至少`1vCPU` -- 内存: Bot无其他插件会占用`300~500MB`,包括`chromium` 及 `node`等进程,其他插件占用视具体插件而定,建议`1GB`以上 -- 硬盘: 至少`1GB`空间 - -> [!warning] -> 如果设备上有多个环境,请使用`path/to/python -m pip install -r requirements.txt`来安装依赖,`path/to/python`为你的Python可执行文件路径 - -> [!warning] -> 轻雪的更新功能依赖Git,如果你没有安装Git直接下载源代码运行,你将无法使用更新功能 - -#### 其他问题请移步至[答疑](/deployment/fandq) \ No newline at end of file diff --git a/docs/en/dev/README.md b/docs/en/dev/README.md index 947ed654..b297df38 100644 --- a/docs/en/dev/README.md +++ b/docs/en/dev/README.md @@ -1,5 +1,5 @@ --- -title: 开发及贡献 +title: Contribute index: false icon: laptop-code category: 开发 diff --git a/docs/en/dev/dev_comm.md b/docs/en/dev/dev_comm.md index 5de4517b..6347d9de 100644 --- a/docs/en/dev/dev_comm.md +++ b/docs/en/dev/dev_comm.md @@ -1,8 +1,8 @@ --- -title: 进程通信 +title: Communication icon: exchange-alt order: 4 -category: 开发 +category: development --- ## **通道通信** diff --git a/docs/en/dev/dev_lyfunc.md b/docs/en/dev/dev_lyfunc.md index db33a2db..ad530cbb 100644 --- a/docs/en/dev/dev_lyfunc.md +++ b/docs/en/dev/dev_lyfunc.md @@ -1,8 +1,8 @@ --- -title: 轻雪函数 +title: Liteyuki Function icon: code order: 2 -category: 开发 +category: development --- ## **轻雪函数** diff --git a/docs/en/dev/dev_lyplugin.md b/docs/en/dev/dev_lyplugin.md index b80e6883..eb662cf5 100644 --- a/docs/en/dev/dev_lyplugin.md +++ b/docs/en/dev/dev_lyplugin.md @@ -1,8 +1,8 @@ --- -title: 轻雪插件开发 +title: Liteyuki Plugin icon: laptop-code order: 3 -category: 开发 +category: development --- diff --git a/docs/en/dev/dev_resource_pack.md b/docs/en/dev/dev_resource_pack.md index 494748ca..e68410f0 100644 --- a/docs/en/dev/dev_resource_pack.md +++ b/docs/en/dev/dev_resource_pack.md @@ -1,8 +1,8 @@ --- -title: 资源包开发 +title: Resource Pack icon: box order: 1 -category: 开发 +category: development --- ## 简介 diff --git a/docs/en/store/README.md b/docs/en/store/README.md index e7619de2..23352efb 100644 --- a/docs/en/store/README.md +++ b/docs/en/store/README.md @@ -1,8 +1,8 @@ --- -title: 资源及插件商店 +title: Extensions Store index: false icon: store -category: 商店 +category: store --- \ No newline at end of file diff --git a/docs/en/store/plugin.md b/docs/en/store/plugin.md index 2d1e0d82..d138b07b 100644 --- a/docs/en/store/plugin.md +++ b/docs/en/store/plugin.md @@ -1,8 +1,8 @@ --- -title: 插件商店 +title: Plugin Store icon: plug order: 2 -category: 使用手册 +category: extension --- \ No newline at end of file diff --git a/docs/en/store/resource.md b/docs/en/store/resource.md index ec2bdbb1..ffafa82b 100644 --- a/docs/en/store/resource.md +++ b/docs/en/store/resource.md @@ -1,8 +1,8 @@ --- -title: 资源商店 +title: Resource Store icon: box order: 1 -category: 使用手册 +category: extension --- diff --git a/docs/en/usage/README.md b/docs/en/usage/README.md index 56a631a0..2f11d90f 100644 --- a/docs/en/usage/README.md +++ b/docs/en/usage/README.md @@ -1,8 +1,8 @@ --- -title: 使用手册 +title: Usage index: false icon: laptop-code -category: 使用手册 +category: usage --- diff --git a/docs/en/usage/agreement.md b/docs/en/usage/agreement.md index ac0fb253..0a6a8348 100644 --- a/docs/en/usage/agreement.md +++ b/docs/en/usage/agreement.md @@ -1,8 +1,8 @@ --- -title: 用户协议 +title: User Agreement icon: user-secret order: 3 -category: 使用手册 +category: usage --- 1. 本项目遵循`MIT`协议,你可以自由使用,修改,分发,但是请保留原作者信息 diff --git a/docs/en/usage/basic_command.md b/docs/en/usage/basic_command.md index 35f82126..fe587bb7 100644 --- a/docs/en/usage/basic_command.md +++ b/docs/en/usage/basic_command.md @@ -1,8 +1,8 @@ --- -title: 基础命令 +title: Basic Commands icon: comment order: 1 -category: 使用手册 +category: usage --- # 基础插件 diff --git a/docs/en/usage/extra_command.md b/docs/en/usage/extra_command.md index 9e30e12c..b6d715d5 100644 --- a/docs/en/usage/extra_command.md +++ b/docs/en/usage/extra_command.md @@ -1,8 +1,8 @@ --- -title: 功能命令 +title: Extra Commands icon: comment order: 2 -category: 使用手册 +category: usage --- ## 功能插件命令 diff --git a/docs/en/usage/lyapi.md b/docs/en/usage/lyapi.md deleted file mode 100644 index e96adb2f..00000000 --- a/docs/en/usage/lyapi.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: 轻雪API -icon: code -order: 5 -category: 使用指南 -tag: - - 配置 - - 部署 ---- - -## **轻雪API** - -轻雪API是轻雪运行中部分服务的支持,由`go`语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 \ No newline at end of file diff --git a/docs/usage/lyapi.md b/docs/usage/lyapi.md deleted file mode 100644 index e96adb2f..00000000 --- a/docs/usage/lyapi.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: 轻雪API -icon: code -order: 5 -category: 使用指南 -tag: - - 配置 - - 部署 ---- - -## **轻雪API** - -轻雪API是轻雪运行中部分服务的支持,由`go`语言编写,例如错误反馈,图床链接等,目前服务由轻雪服务器提供,用户无需额外部署 \ No newline at end of file