From 209f3eade27461e2c7b5855b4e7994ad7f462a9d Mon Sep 17 00:00:00 2001 From: Aaron Chen Date: Tue, 4 Jul 2023 10:51:54 +0800 Subject: [PATCH] =?UTF-8?q?build=E8=BE=93=E5=87=BA=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=94=B1docs/.vuepress/dist=E6=94=B9=E4=B8=BAdist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- docs/.vuepress/config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 51df4f9..dc922d3 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ VuePress会在 http://localhost:8080 启动一个热重载的开发服务器, yarn build ``` -执行完成后会在`docs/.vuepress`目录下生成`dist`目录,里面都是纯表态html页面,把`dist`目录内的文件拷贝到任意http站点服务器的根目录里就可以了。 +执行完成后会在项目根目录下生成`dist`目录,里面都是纯表态html页面,把`dist`目录内的文件拷贝到任意http站点服务器的根目录里就可以了。 ### 编辑方法 diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index fc5796c..00e978e 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -1,6 +1,7 @@ module.exports = { title: "PHP程序员的FreeSWITCH开发文档", description: "一个PHP程序在做FreeSWITCH相关的应用开发时积累的技术文档", + dest: "dist", themeConfig: { displayAllHeaders: false, sidebar: [