From 39b04b880a5c8d828e45ae2019002f811ac51ce0 Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Wed, 22 Aug 2018 22:24:49 +0800 Subject: [PATCH] Update docs config --- docs/.vuepress/config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 1b8f6315..c4710215 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,7 +1,7 @@ module.exports = { title: 'NoneBot', description: '基于酷 Q 的 Python 异步 QQ 机器人框架', - // serviceWorker: true, + serviceWorker: true, markdown: { lineNumbers: true }, @@ -12,6 +12,12 @@ module.exports = { editLinkText: '在 GitHub 上编辑此页', lastUpdated: '上次更新', activeHeaderLinks: false, + serviceWorker: { + updatePopup: { + message: "发现新内容可用", + buttonText: "刷新" + } + }, nav: [ { text: '指南', link: '/guide/' }, { text: '进阶', link: '/advanced/' },