diff --git a/.vitepress/config/index.ts b/.vitepress/config/index.ts index a5569e9d2e13..fa43d98856b8 100644 --- a/.vitepress/config/index.ts +++ b/.vitepress/config/index.ts @@ -1,4 +1,4 @@ -import { defineConfig } from '@koishijs/vitepress' +import { defineConfig } from '@cordisjs/vitepress' import { resolve } from 'path' import { cp, mkdir, rm } from 'fs/promises' import vueI18n from '@intlify/unplugin-vue-i18n/vite' diff --git a/.vitepress/theme/index.scss b/.vitepress/theme/index.scss index e2813dacbd75..6af93ef7bfb7 100644 --- a/.vitepress/theme/index.scss +++ b/.vitepress/theme/index.scss @@ -97,15 +97,6 @@ html.dark { } } -mjx-container { - font-size: 0.95em; - vertical-align: middle; - - > svg { - margin-top: -4px; - } -} - @media (max-width: 640px) { .vp-doc .custom-block { div[class*='language-'] { diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index 5538926b2715..d61a2bef7f36 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -1,4 +1,4 @@ -import { defineTheme } from '@koishijs/vitepress/client' +import { defineTheme } from '@cordisjs/vitepress/client' import { defineAsyncComponent } from 'vue' import Empty from './components/empty.vue' import Markdown from 'marked-vue' diff --git a/.vitepress/theme/layout.vue b/.vitepress/theme/layout.vue index 76fdef67d300..8b569eb6cc51 100644 --- a/.vitepress/theme/layout.vue +++ b/.vitepress/theme/layout.vue @@ -14,7 +14,7 @@ <script lang="ts" setup> -import { Layout } from '@koishijs/vitepress/client' +import { Layout } from '@cordisjs/vitepress/client' import { useData } from 'vitepress' import { computed, provide, watch } from 'vue' import { useI18n } from 'vue-i18n' diff --git a/package.json b/package.json index 15503f6846f1..9c43e09244c6 100644 --- a/package.json +++ b/package.json @@ -12,13 +12,13 @@ "build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vitepress build ." }, "devDependencies": { + "@cordisjs/vitepress": "^3.2.4", "@intlify/unplugin-vue-i18n": "^1.5.0", "@koishijs/components": "^1.5.6", "@koishijs/core": "^4.16.4", "@koishijs/dns": "^1.0.1", - "@koishijs/market": "^4.2.0", + "@koishijs/market": "^4.2.1", "@koishijs/registry": "^7.0.0", - "@koishijs/vitepress": "^3.2.2", "@types/node": "^20.10.2", "@types/spark-md5": "^3.0.4", "@vueuse/core": "^10.6.1", diff --git a/zh-CN/plugins/index.md b/zh-CN/plugins/index.md index fda93c4075fc..e3333bb7280d 100644 --- a/zh-CN/plugins/index.md +++ b/zh-CN/plugins/index.md @@ -57,5 +57,6 @@ Koishi 官方提供了许多插件。为了更好地模块化开发,它们被 - [@koishijs/plugin-hmr](./develop/hmr.md):模块热替换 - [@koishijs/plugin-mock](./develop/mock.md):测试工具 - [@koishijs/plugin-notifier](./develop/notifier.md):通知服务 +- [@koishijs/plugin-server](./develop/server.md):服务器 - [@koishijs/plugin-server-satori](./develop/server-satori.md):API 服务器 - [@koishijs/plugin-server-temp](./develop/server-temp.md):临时服务器