From ff5508b313d2fde9cb02d099d15ec097fe47e54e Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Mon, 23 Sep 2024 12:02:26 +0800 Subject: [PATCH] chore: tweak --- theme/src/node/plugins/getPlugins.ts | 1 - theme/src/shared/options/plugins.ts | 19 ------------------- 2 files changed, 20 deletions(-) diff --git a/theme/src/node/plugins/getPlugins.ts b/theme/src/node/plugins/getPlugins.ts index 3795250c..7b8b3c6b 100644 --- a/theme/src/node/plugins/getPlugins.ts +++ b/theme/src/node/plugins/getPlugins.ts @@ -130,7 +130,6 @@ export function getPlugins({ if (pluginOptions.markdownPower !== false) { plugins.push(markdownPowerPlugin({ - caniuse: pluginOptions.caniuse, fileTree: true, plot: true, icons: true, diff --git a/theme/src/shared/options/plugins.ts b/theme/src/shared/options/plugins.ts index 3e9ff649..d8a9a8c7 100644 --- a/theme/src/shared/options/plugins.ts +++ b/theme/src/shared/options/plugins.ts @@ -10,13 +10,6 @@ import type { MarkdownEnhancePluginOptions } from 'vuepress-plugin-md-enhance' import type { MarkdownPowerPluginOptions } from 'vuepress-plugin-md-power' export interface PlumeThemePluginOptions { - /** - * @deprecated 迁移至 `plugin-md-power` 插件 - * - * 是否启用 can-i-use 插件 - */ - caniuse?: false - /** * plugin-search 配置 */ @@ -27,12 +20,6 @@ export interface PlumeThemePluginOptions { */ docsearch?: false | DocSearchOptions - /** - * @deprecated move to `shiki` - * 代码高亮 配置 - */ - shikiji?: never - /** * 代码高亮 配置 */ @@ -86,12 +73,6 @@ export interface PlumeThemePluginOptions { seo?: false - /** - * @deprecated - * 请使用 [@vuepress/plugin-baidu-analytics](https://ecosystem.vuejs.press/zh/plugins/analytics/baidu-analytics.html) 代替 - */ - baiduTongji?: false | { key: string } - /** * 阅读时间、字数统计 */