File tree Expand file tree Collapse file tree 7 files changed +534
-562
lines changed Expand file tree Collapse file tree 7 files changed +534
-562
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import { defineUserConfig } from "vuepress";
22import { viteBundler } from '@vuepress/bundler-vite'
33import { baiduAnalyticsPlugin } from "@vuepress/plugin-baidu-analytics" ;
44import { umamiAnalyticsPlugin } from "@vuepress/plugin-umami-analytics" ;
5- import { llmsPlugin } from "@vuepress/plugin-llms" ;
65import { 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 ,
Original file line number Diff line number Diff line change 11<script setup>
22import { Layout } from " vuepress-theme-plume/client" ;
3+ import PageContextMenu from ' vuepress-theme-plume/features/PageContextMenu.vue'
34import SponsorPanel from " ../components/SponsorPanel.vue" ;
45import BannerTop from " ../components/BannerTop.vue" ;
56import 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 >
Original file line number Diff line number Diff 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 ]
Original file line number Diff line number Diff line change @@ -73,4 +73,5 @@ export const myTheme: Theme = plumeTheme({
7373 categoryId : 'DIC_kwDOMv5sMc4CmLp9' ,
7474 lazyLoading : true ,
7575 } ,
76+ llmstxt : true ,
7677} )
Original file line number Diff line number Diff 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+ :::
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments