This commit is contained in:
2025-11-05 23:08:07 +08:00
parent fa38901158
commit dfbcd6f1f5
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
export default {
// 应用级配置选项
lang: 'zh-cn',
title: 'VitePress',
title: '阿帅正传',
description: 'Vite & Vue powered static site generator.',
themeConfig: {
footer: {
+2 -1
View File
@@ -6,4 +6,5 @@ echo "run docs:build"
npm run docs:build
chown -R www:www ./
ps -ef | grep "npm run docs:preview" | grep -v grep | awk '{print $2}' | xargs kill -9
sudo -u www "npm run docs:preview &"
# 以 www 身份后台运行,忽略挂断信号,输出重定向到日志
nohup sudo -u www npm run docs:preview > /www/wwwroot/xsinfo/preview.log 2>&1 &