pengzhanbo f4aca014ed refactor: 更新vuepress依赖
更新 vuepress 相关依赖, beta.41 -> beta.43;
调整plugin代码
2022-05-03 23:34:15 +08:00

44 lines
1.0 KiB
TypeScript

import type { CanIUsePluginOptions } from '@vuepress-plume/vuepress-plugin-caniuse'
import type { DocsearchOptions } from '@vuepress/plugin-docsearch'
import type { SearchPluginOptions } from '@vuepress/plugin-search'
import type { CommentOptions } from 'vuepress-plugin-comment2'
import type { CopyCodeOptions } from 'vuepress-plugin-copy-code2'
import type { MarkdownEnhanceOptions } from 'vuepress-plugin-md-enhance'
export interface PlumeThemePluginOptions {
/**
* 是否启用 can-i-use 插件
*/
caniuse?: false | CanIUsePluginOptions
/**
* 是否启用 external-link-icon 插件
*/
externalLinkIcon?: false
/**
* plugin-search 配置
*/
search?: false | Partial<SearchPluginOptions>
/**
* plugin-docsearch 配置
*/
docsearch?: false | DocsearchOptions
prismjs?: false
git?: false
nprogress?: false
mediumZoom?: false
copyCode?: false | CopyCodeOptions
markdownEnhance?: false | MarkdownEnhanceOptions
comment?: false | CommentOptions
sitemap?: false
}