refactor(docs): 重构导航栏配置并调整文档结构

将导航栏中的“安装指南”、“配置指南”和“部署指南”进行重新组织,并调整相关文档路径和内容,使其更加清晰和合理。

- 在 `navbar.ts` 中,将“部署指南”和“配置指南”的链接分别更新为 `/guide/deployment/overview` 和 `/guide/configuration/configuration`。
- 删除了旧的 `configuration.md` 文件,相关内容被拆分并移动到新的 `configuration/configuration.md` 和 `configuration/environment.md` 文件中。
- 重命名了 `environment.md` 文件为 `configuration/environment.md`,并更新了其 `permalink`。
- 新增了 `deployment/overview.md` 文件,概述了不同的部署方案,并提供了快速选择和详细对比。
- 将 `docker.md` 文件重命名为 `deployment/docker.md`,以便于统一管理部署相关文档。
- 将 `server.md` 文件重命名为 `deployment/server.md`,同上,便于统一管理部署相关文档。
- 将 `vercel.md` 文件重命名为 `deployment/vercel.md`,同上,便于统一管理部署相关文档。
This commit is contained in:
2025-11-09 16:00:44 +08:00
parent cfb4270ca2
commit 641a729592
9 changed files with 226 additions and 346 deletions

View File

@@ -13,9 +13,8 @@ export default defineNavbarConfig([
items: [
{ text: "项目介绍", link: "/guide/introduction" },
{ text: "快速开始", link: "/guide/quickstart" },
{ text: "安装指南", link: "/guide/installation" },
{ text: "配置指南", link: "/guide/configuration" },
{ text: "部署指南", link: "/guide/deployment" },
{ text: "部署指南", link: "/guide/deployment/overview" },
{ text: "配置指南", link: "/guide/configuration/configuration" },
],
},
{

View File

@@ -72,23 +72,24 @@ export default defineThemeConfig({
items: [
{ text: "项目介绍", link: "/guide/introduction" },
{ text: "快速开始", link: "/guide/quickstart" },
{
text: "配置",
collapsed: false,
items: [
{ text: "配置指南", link: "/guide/configuration" },
{ text: "环境配置", link: "/guide/environment" },
],
},
{
text: "部署",
collapsed: false,
items: [
{ text: "部署指南", link: "/guide/deployment/overview" },
{ text: "服务器部署", link: "/guide/deployment/server" },
// { text: "Docker 部署", link: "/guide/deployment/docker" },
{ text: "Vercel 部署", link: "/guide/deployment/vercel" },
],
},
{
text: "配置",
collapsed: false,
items: [
{ text: "基础配置", link: "/guide/configuration/configuration" },
{ text: "环境配置", link: "/guide/configuration/environment" },
],
},
],
},
],