diff --git a/.vitepress/analyzers/mcla.api.ts b/.vitepress/theme/analyzers/mcla.api.ts similarity index 100% rename from .vitepress/analyzers/mcla.api.ts rename to .vitepress/theme/analyzers/mcla.api.ts diff --git a/.vitepress/analyzers/mcla.ts b/.vitepress/theme/analyzers/mcla.ts similarity index 99% rename from .vitepress/analyzers/mcla.ts rename to .vitepress/theme/analyzers/mcla.ts index 00e2011f..104ce932 100644 --- a/.vitepress/analyzers/mcla.ts +++ b/.vitepress/theme/analyzers/mcla.ts @@ -1,5 +1,5 @@ import type { Ref } from "vue" -import { useCDN } from "@/cdn" +import { useCDN } from "@theme/utils/cdn" export { VERSION, MCLA_GH_DB_PREFIX, loadMCLA } diff --git a/.vitepress/auth/github.ts b/.vitepress/theme/auth/github.ts similarity index 100% rename from .vitepress/auth/github.ts rename to .vitepress/theme/auth/github.ts diff --git a/.vitepress/theme/components/Analyzer.vue b/.vitepress/theme/components/Analyzer.vue index 6219beab..d23d8713 100644 --- a/.vitepress/theme/components/Analyzer.vue +++ b/.vitepress/theme/components/Analyzer.vue @@ -16,7 +16,7 @@ import { type Solution, loadMCLA, MCLA_GH_DB_PREFIX, -} from "@/analyzers/mcla" +} from "@/theme/analyzers/mcla" import type { ITarFileInfo } from "@gera2ld/tarjs" // 类型&接口定义 diff --git a/.vitepress/theme/components/AuthRedirect.vue b/.vitepress/theme/components/AuthRedirect.vue index 16e927cb..d527c804 100644 --- a/.vitepress/theme/components/AuthRedirect.vue +++ b/.vitepress/theme/components/AuthRedirect.vue @@ -1,6 +1,6 @@