From 5a4e8921b2110b4167eee96f5eb5d5c06a3f3c9d Mon Sep 17 00:00:00 2001 From: Masterain Date: Wed, 28 Sep 2022 20:06:36 -0700 Subject: [PATCH] update structure --- docs/.vuepress/sidebar/en.ts | 19 ------------------- docs/.vuepress/sidebar/zh.ts | 12 ++++++++---- docs/README.md | 4 ++-- docs/en/features/wish-export.md | 2 +- docs/features/wish-export.md | 2 +- 5 files changed, 12 insertions(+), 27 deletions(-) diff --git a/docs/.vuepress/sidebar/en.ts b/docs/.vuepress/sidebar/en.ts index cf0d7b698..1d25bc62c 100644 --- a/docs/.vuepress/sidebar/en.ts +++ b/docs/.vuepress/sidebar/en.ts @@ -7,25 +7,6 @@ export const enSidebar = sidebar({ icon: "play", text: "快速开始", link: "quick-start.md" - }, - { - icon: "read", - text: "功能指南", - prefix: "/features/README.md", - children: "structure" - }, - { - icon: "ask", - text: "常见问题", - prefix: "/FAQ/README.md", - children: ["most-frequent-questions.md", "Gacha-system-and-export-principal.md"] - //children: "structure" - }, - { - icon: "article", - text: "声明和公告", - prefix: "/statements/README.md", - children: "structure" } ], }); diff --git a/docs/.vuepress/sidebar/zh.ts b/docs/.vuepress/sidebar/zh.ts index d669b08ac..14a27d9f9 100644 --- a/docs/.vuepress/sidebar/zh.ts +++ b/docs/.vuepress/sidebar/zh.ts @@ -3,6 +3,11 @@ import { sidebar } from "vuepress-theme-hope"; export const zhSidebar = sidebar({ "/": [ "", + { + icon: "workingDirectory", + text: "项目介绍", + link: "project.md" + }, { icon: "play", text: "快速开始", @@ -11,20 +16,19 @@ export const zhSidebar = sidebar({ { icon: "read", text: "功能指南", - prefix: "/features/", + prefix: "features/", children: "structure" }, { icon: "ask", text: "常见问题", - prefix: "/FAQ/", - //children: ["most-frequent-questions.md", "Gacha-system-and-export-principal.md"] + prefix: "FAQ/", children: "structure" }, { icon: "article", text: "声明和公告", - prefix: "/statements/", + prefix: "statements/", children: "structure" } ], diff --git a/docs/README.md b/docs/README.md index 14d164112..73115fa0d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -26,12 +26,12 @@ features: - title: 祈愿记录 icon: /images/202209/IndexIconWish.png details: 支持多UID切换,从游戏日志文件获取或从其它祈愿记录程序导出数据,永久保留玩家的祈愿记录 - link: /documents/features/wish-export.md + link: /features/wish-export.md - title: 成就记录 icon: /images/202209/IndexIconAchievements.png details: 成就统计功能允许玩家导出成就数据并在游戏外进行统计;基于成就拆分,玩家可以对隐藏成就的阶段性目标进行管理 - link: /documents/features/achievements.md + link: /features/achievements.md copyright: false diff --git a/docs/en/features/wish-export.md b/docs/en/features/wish-export.md index 53b065c00..88f8b7b96 100644 --- a/docs/en/features/wish-export.md +++ b/docs/en/features/wish-export.md @@ -5,7 +5,7 @@ headerDepth: 0 # 原神祈愿记录导出 ![wish-export-sample](/images/202209/wish-export.png) -有关原神祈愿记录导出的技术原理,你可以参阅我们的[**祈愿系统与导出原理**](/documents/FAQ/Gacha-system-and-export-principal.md)一文 +有关原神祈愿记录导出的技术原理,你可以参阅我们的[**祈愿系统与导出原理**](/FAQ/Gacha-system-and-export-principal.md)一文 ## 从原神服务器获取最新的祈愿记录 - 打开原神游戏本体,进入祈愿界面,点击 `历史记录` diff --git a/docs/features/wish-export.md b/docs/features/wish-export.md index 53b065c00..88f8b7b96 100644 --- a/docs/features/wish-export.md +++ b/docs/features/wish-export.md @@ -5,7 +5,7 @@ headerDepth: 0 # 原神祈愿记录导出 ![wish-export-sample](/images/202209/wish-export.png) -有关原神祈愿记录导出的技术原理,你可以参阅我们的[**祈愿系统与导出原理**](/documents/FAQ/Gacha-system-and-export-principal.md)一文 +有关原神祈愿记录导出的技术原理,你可以参阅我们的[**祈愿系统与导出原理**](/FAQ/Gacha-system-and-export-principal.md)一文 ## 从原神服务器获取最新的祈愿记录 - 打开原神游戏本体,进入祈愿界面,点击 `历史记录`