back-to-top

This commit is contained in:
Aaron Chen 2023-07-05 09:04:52 +08:00
parent 7d91952c38
commit 3342599e73
3 changed files with 12 additions and 2 deletions

View File

@ -2,8 +2,9 @@ module.exports = {
title: "PHP程序员的FreeSWITCH开发文档",
description: "一个PHP程序在做FreeSWITCH相关的应用开发时积累的技术文档",
dest: "dist",
plugins: ["@vuepress/back-to-top"],
themeConfig: {
lastUpdated: '上次更新',
lastUpdated: "上次更新",
displayAllHeaders: false,
sidebar: [
{
@ -85,5 +86,5 @@ module.exports = {
sidebarDepth: 0, // 可选的, 默认值是 1
},
],
}
},
};

View File

@ -6,6 +6,7 @@
"author": "wandoubaba",
"license": "MIT",
"devDependencies": {
"@vuepress/plugin-back-to-top": "^1.9.9",
"vuepress": "^1.9.9"
},
"scripts": {

View File

@ -1477,6 +1477,14 @@
"@vuepress/types" "1.9.9"
lodash.debounce "^4.0.8"
"@vuepress/plugin-back-to-top@^1.9.9":
version "1.9.9"
resolved "https://registry.yarnpkg.com/@vuepress/plugin-back-to-top/-/plugin-back-to-top-1.9.9.tgz#eedd5b08e11790cd994636b458188fd40205e967"
integrity sha512-8bNsdZ0Dr96OdcoJ67dxCx1ysXpeTHma8w+YSsqBJoWGEOucBr0nW9oaDH85yoOtpiriWBlhUO32/Q0ojJtMfA==
dependencies:
"@vuepress/types" "1.9.9"
lodash.debounce "^4.0.8"
"@vuepress/plugin-last-updated@1.9.9":
version "1.9.9"
resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.9.9.tgz#a7cb5f39b2793c8d113de08a514c316c26cc38c1"