From 07b72f87d7f91a13dfb9e51c3041c7d204014523 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Sun, 22 Nov 2020 01:51:23 +0800 Subject: [PATCH] :alien: update vuepress base --- docs/.vuepress/config.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 8faed7a5..e339e2ca 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,6 +1,7 @@ const path = require("path"); module.exports = context => ({ + base: process.env.VUEPRESS_BASE || "/", title: "NoneBot", description: "基于 酷Q 的 Python 异步 QQ 机器人框架", markdown: { @@ -117,12 +118,7 @@ module.exports = context => ({ title: "进阶", collapsable: false, sidebar: "auto", - children: [ - "", - "scheduler", - "permission", - "runtime-hook" - ] + children: ["", "scheduler", "permission", "runtime-hook"] } ], "/api/": [