diff --git a/docs/.vuepress/client.js b/docs/.vuepress/client.js index c9ca9454..b55a3941 100644 --- a/docs/.vuepress/client.js +++ b/docs/.vuepress/client.js @@ -1,5 +1,4 @@ import {defineClientConfig} from "vuepress/client"; -import { defineEChartsConfig } from "vuepress-plugin-md-enhance/client"; import resourceStoreComp from "./components/ResStore.vue"; import pluginStoreComp from "./components/PluginStore.vue"; @@ -9,17 +8,6 @@ import geoComp from "./components/Geo.vue"; // import ElementPlus from 'element-plus'; -defineEChartsConfig({ - options: { - // 全局 ECharts 配置 - }, - setup: async () => { - // ECharts 设置 - // 例如: await import("echarts-wordcloud") - }, -}); - - export default defineClientConfig({ enhance: ({app, router, siteData}) => { app.component("homeComp", homeComp); diff --git a/docs/.vuepress/sidebar.ts b/docs/.vuepress/sidebar.ts index 7b32d753..5a144421 100644 --- a/docs/.vuepress/sidebar.ts +++ b/docs/.vuepress/sidebar.ts @@ -20,11 +20,6 @@ export default sidebar({ icon: "store", prefix: "store/", children: "structure", - },{ - text: "其他", - icon: "question-circle", - prefix: "other/", - children: "structure", } ], }); diff --git a/docs/other/README.md b/docs/other/README.md deleted file mode 100644 index 81216c8e..00000000 --- a/docs/other/README.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: 其他 -index: false -icon: question-circle -category: 其他 ---- - - diff --git a/docs/other/geo.md b/docs/other/geo.md deleted file mode 100644 index f82515c3..00000000 --- a/docs/other/geo.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: 地理分布 -icon: globe -order: 1 -category: 其他 - ---- - -:::echarts Liteyuki Dist - -```js -const option = { - backgroundColor: '#454545', - title: { - text: 'LiteyukiBot分布demo', - subtext: 'LiteyukiBot分布', - textStyle: { - color: '#fff', - fontSize: 20 - }, - top: '10px', - left: '10px' - }, - geo: { - map: 'world', - roam: false, - itemStyle: { - normal: { - areaColor: '#000', - borderType: null, // 设置边界线类型为无 - borderColor: '#000', // 设置边界线颜色 - - }, - emphasis: { - areaColor: '#000', - borderType: null, // 设置边界线类型为无 - borderColor: '#000', // 设置边界线颜色 - } - }, - regions: [] // 先保留为空 - }, - series: [{ - // 散点效果 - type: 'scatter', - coordinateSystem: 'geo', // 表示使用的坐标系为地理坐标系 - symbolSize: 5, // 设置散点的大小为20 - itemStyle: { - color: '#ffeb3b', // 黄色 - }, - }], - textStyle: { - fontSize: 1 - } -}; -``` \ No newline at end of file