refactor(docs): [SITE-03] migrate desktop editor and integrate typed generation

This commit is contained in:
Harvey Zhao committed 2026-09-14 09:25:46 +08:00
1 parent a468cb2c39
commit 2f130c58f1
37 files changed
+1921 -305

No files matched your search

+3 -3
View File
@@ -5,11 +5,11 @@ import { ownedPath, read, sha256 } from './files.ts'
export function buildCorpus(root: string): Map<string, string> {
const common = ts.createSourceFile(
'common.js',
read(ownedPath(root, 'docs/assets/js/common.js')),
'editor-libraries.ts',
read(ownedPath(root, 'packages/artplayer-vitepress/browser/editor-libraries.ts')),
ts.ScriptTarget.Latest,
true,
ts.ScriptKind.JS,
ts.ScriptKind.TS,
)
const declarations: string[] = []
let lists = 0