优化更新

This commit is contained in:
2026-09-13 23:01:19 +08:00
parent 0c67b3e8b5
commit 23bd737b82
88 changed files with 2214 additions and 2503 deletions
@@ -1,9 +1,9 @@
import type { DefaultTheme, LocaleSpecificConfig } from "vitepress";
export const META_URL = "https://www.djangoadmin.cn";
export const META_TITLE = "DjangoAdmin Flask+EleVue 开发者文档";
export const META_TITLE = "DjangoAdmin Flask+NaiveUI 开发者文档";
export const META_DESCRIPTION =
"DjangoAdmin Flask+EleVue 企业级中台解决方案开发者文档";
"DjangoAdmin Flask+NaiveUI 企业级中台解决方案开发者文档";
export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
description: META_DESCRIPTION,
@@ -33,7 +33,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
themeConfig: {
editLink: {
pattern: "https://gitee.com/djangoadmin/DjangoAdmin_Flask_EleVue",
pattern: "https://gitee.com/djangoadmin/DjangoAdmin_Flask_NaiveVue",
text: "对本页提出修改建议",
},
@@ -48,7 +48,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
nav: [
{ text: "官网", link: "https://www.djangoadmin.cn" },
{ text: "授权", link: "https://www.djangoadmin.cn/goods/detail/2" },
{ text: "授权", link: "https://www.djangoadmin.cn/goods/detail/4" },
{
text: "部署文档",
items: [
@@ -211,8 +211,8 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
link: "https://cn.vuejs.org/",
},
{
text: "ElementPlus",
link: "https://element-plus.org/zh-CN/",
text: "NaiveUI",
link: "https://www.naiveui.com/zh-CN",
},
],
},
@@ -496,11 +496,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
collapsed: false,
items: [
{
text: "5.1.14 请求限流",
link: "/zh/volume4/core/rate-limit.html",
},
{
text: "5.1.15 防重复提交",
text: "5.1.14 防重复提交",
link: "/zh/volume4/core/idempotent.html",
},
],
@@ -511,11 +507,11 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
collapsed: false,
items: [
{
text: "5.1.16 AOP 事务管理",
text: "5.1.15 AOP 事务管理",
link: "/zh/volume4/core/transaction.html",
},
{
text: "5.1.17 事务装饰器",
text: "5.1.16 事务装饰器",
link: "/zh/volume4/core/transaction-decorator.html",
},
],
@@ -624,10 +620,6 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
text: "5.3.6 密码加密与验证",
link: "/zh/volume4/tools/password.html",
},
{
text: "5.3.7 日志系统",
link: "/zh/volume4/tools/logger.html",
},
],
},
// 🧩 辅助工具
@@ -964,7 +956,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
},
{
text: "9.3 开源协议",
link: "https://gitee.com/djangoadmin/DjangoAdmin_Flask_EleVue/blob/master/LICENSE",
link: "https://gitee.com/djangoadmin/DjangoAdmin_Flask_NaiveVue/blob/master/LICENSE",
},
{
text: "9.4 广告赞助",