|
|
@@ -1,51 +0,0 @@
|
|
|
-module.exports = {
|
|
|
- title: "mirai-api-http",
|
|
|
- description: "Mirai HTTP API (console) plugin",
|
|
|
- base: "/mirai-api-http",
|
|
|
- markdown: {
|
|
|
- lineNumbers: true,
|
|
|
- },
|
|
|
- theme: "antdocs",
|
|
|
- themeConfig: {
|
|
|
- backToTop: true,
|
|
|
- sidebar: "auto",
|
|
|
- sidebarDepth: 2,
|
|
|
- displayAllHeaders: true,
|
|
|
- repo: "project-mirai/mirai-api-http",
|
|
|
- logo: "https://raw.githubusercontent.com/mamoe/mirai/dev/docs/mirai.png",
|
|
|
- docsDir: "docs",
|
|
|
- editLinks: true,
|
|
|
- smoothScroll: true,
|
|
|
- editLinkText: "在 GitHub 上编辑此页",
|
|
|
- lastUpdated: "上次更新",
|
|
|
- nav: [
|
|
|
- {text: "首页", link: "/"},
|
|
|
- {text: "API", link: "/api/API.html"},
|
|
|
- {text: "事件类型", link: "/api/EventType.html"},
|
|
|
- {text: "消息类型", link: "/api/MessageType.html"},
|
|
|
- {
|
|
|
- text: "接口适配器",
|
|
|
- items: [
|
|
|
- {text: "http轮询", link: "/adapter/HttpAdapter.html"},
|
|
|
- {text: "websocket", link: "/adapter/WebsocketAdapter.html"},
|
|
|
- {text: "反向websocket", link: "/adapter/ReverseWebsocketAdapter.html"},
|
|
|
- {text: "webhook上报", link: "/adapter/Webhook.html"},
|
|
|
- ],
|
|
|
- },
|
|
|
- ],
|
|
|
- },
|
|
|
- plugins: [
|
|
|
- "@vuepress/plugin-medium-zoom",
|
|
|
- "@vuepress/nprogress",
|
|
|
- [
|
|
|
- "@vuepress/pwa",
|
|
|
- {
|
|
|
- serviceWorker: true,
|
|
|
- updatePopup: {
|
|
|
- message: "发现新内容",
|
|
|
- buttonText: "刷新",
|
|
|
- },
|
|
|
- },
|
|
|
- ],
|
|
|
- ],
|
|
|
-};
|