feat: add danmuku plugin and i18n setup documentation

- Created a new documentation file for the danmuku plugin with code examples.
- Added a new documentation file for language settings (i18n) with detailed instructions on language imports, default languages, and how to add or modify languages.
This commit is contained in:
Harvey Zhao committed 2026-02-10 23:12:03 +08:00
1 parent 7dffd99cfd
commit 17042867fc
81 files changed
+160 -878

No files matched your search

+3 -2
View File
@@ -9,8 +9,9 @@ function ensureDirExists(filePath) {
}
}
function parsePluginInfo(path) {
const file = path.split('/').pop() || ''
function parsePluginInfo(pluginPath) {
// Use path.basename to handle both Unix and Windows paths correctly
const file = path.basename(pluginPath)
const baseName = file.replace('.d.ts', '')
const name = baseName