diff --git a/.vitepress/config.mjs b/.vitepress/config.mjs index 800fd98..ccb371a 100644 --- a/.vitepress/config.mjs +++ b/.vitepress/config.mjs @@ -32,7 +32,8 @@ export default defineConfig({ items: [ { text: "开始你的第一个插件", link: "/docs/introduction" }, { text: "LiteLoader API", link: "/docs/liteloader-api" }, - { text: "Web Components", link: "/docs/web-components" } + { text: "Web Components", link: "/docs/web-components" }, + { text: "自定义协议方案", link: "/docs/protocol-scheme" } ] } ] diff --git a/src/docs/protocol-scheme.md b/src/docs/protocol-scheme.md new file mode 100644 index 0000000..aa54a63 --- /dev/null +++ b/src/docs/protocol-scheme.md @@ -0,0 +1,19 @@ +# 自定义协议方案 + +::: warning 警告 +此文档为 LiteLoaderQQNT 1.0.0 编写 +::: + + + +## 介绍 + +一些自定义的 URL 协议方案,方便插件开发 + + + +## 用法 + +### local + +`file` 协议的代替方案,读取本地文件,使用绝对路径