Skip to content

Commit 26c5a9d

Browse files
committed
update docs
1 parent 4008a67 commit 26c5a9d

File tree

7 files changed

+534
-562
lines changed

7 files changed

+534
-562
lines changed

docs/.vuepress/config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { defineUserConfig } from "vuepress";
22
import { viteBundler } from '@vuepress/bundler-vite'
33
import { baiduAnalyticsPlugin } from "@vuepress/plugin-baidu-analytics";
44
import { umamiAnalyticsPlugin } from "@vuepress/plugin-umami-analytics";
5-
import { llmsPlugin } from "@vuepress/plugin-llms";
65
import { myTheme } from "./theme";
76

87

@@ -20,8 +19,7 @@ export default defineUserConfig({
2019
}),
2120
umamiAnalyticsPlugin({
2221
id: '62984e7c-ec95-459a-9a2f-553766c6b3d4'
23-
}),
24-
llmsPlugin({})
22+
})
2523
],
2624
bundler: viteBundler(),
2725
shouldPrefetch: false,

docs/.vuepress/layouts/Layout.vue

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script setup>
22
import { Layout } from "vuepress-theme-plume/client";
3+
import PageContextMenu from 'vuepress-theme-plume/features/PageContextMenu.vue'
34
import SponsorPanel from "../components/SponsorPanel.vue";
45
import BannerTop from "../components/BannerTop.vue";
56
import SponsorSidebar from "../components/SponsorSidebar.vue";
@@ -19,6 +20,9 @@ import GradientText from "../components/bits/GradientText.vue";
1920
<SponsorSidebar />
2021
</div>
2122
</template>
23+
<template #doc-title-after>
24+
<PageContextMenu />
25+
</template>
2226
<template #aside-outline-after>
2327
<div class="custom-content">
2428
<SponsorPanel />
@@ -36,26 +40,4 @@ import GradientText from "../components/bits/GradientText.vue";
3640
.custom-content {
3741
width: 100%;
3842
}
39-
40-
.colorful-char {
41-
font-size: 1.2em;
42-
font-weight: bold;
43-
color: hsl(0, 70%, 60%);
44-
animation: colorful 6s infinite ease-in-out;
45-
}
46-
47-
@keyframes colorful {
48-
0% {
49-
color: hsl(0, 70%, 60%);
50-
}
51-
33% {
52-
color: hsl(120, 70%, 60%);
53-
}
54-
66% {
55-
color: hsl(240, 70%, 60%);
56-
}
57-
100% {
58-
color: hsl(0, 70%, 60%);
59-
}
60-
}
6143
</style>

docs/.vuepress/navbar.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ export const myNavbar: ThemeNavItem[] = defineNavbarConfig([
184184
{
185185
text: '插件市场',
186186
icon: 'lsicon:marketing-outline',
187+
badge: { text: 'HOT', type: 'danger' },
187188
link: '/market'
188189
},
189190
]

docs/.vuepress/theme.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,5 @@ export const myTheme: Theme = plumeTheme({
7373
categoryId: 'DIC_kwDOMv5sMc4CmLp9',
7474
lazyLoading: true,
7575
},
76+
llmstxt: true,
7677
})

docs/plugin/dev.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ fba 内所有官方实现都同时兼容 mysql 和 postgresql,但我们不对
115115

116116
插件统一放置在 `backend/plugin` 目录下,以下是插件的目录结构
117117

118+
::: warning
119+
请严格按照此结构进行插件开发,否则插件将无法完美适配 fba 内置功能
120+
:::
121+
118122
::: file-tree
119123

120124
- xxx 插件名 <Badge type="danger" text="必须" />
@@ -178,4 +182,6 @@ fba 内所有官方实现都同时兼容 mysql 和 postgresql,但我们不对
178182

179183
## 注意事项
180184

181-
非必要情况下,插件代码中尽量不要引用架构中的现有方法,如果架构中的现有方法发生变更,则插件也必须同步变更,否则插件将被损坏
185+
::: caution
186+
非必要情况下,插件代码中尽量不要引用架构中的现有方法,如果架构中的现有方法发生变更,则插件也必须同步变更,否则插件将被损坏
187+
:::

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@
1919
"devDependencies": {
2020
"@vuepress/bundler-vite": "2.0.0-rc.26",
2121
"@vuepress/plugin-baidu-analytics": "2.0.0-rc.118",
22-
"@vuepress/plugin-llms": "2.0.0-rc.118",
2322
"@vuepress/plugin-umami-analytics": "2.0.0-rc.118",
2423
"vue": "^3.5.24",
2524
"vuepress": "2.0.0-rc.26",
26-
"vuepress-theme-plume": "1.0.0-rc.176"
25+
"vuepress-theme-plume": "1.0.0-rc.178"
2726
},
2827
"dependencies": {
29-
"@iconify/json": "^2.2.406",
28+
"@iconify/json": "^2.2.408",
3029
"@vueuse/core": "^12.8.2",
3130
"mermaid": "^11.12.1",
3231
"swiper": "^12.0.3"

0 commit comments

Comments
 (0)