Skip to content

Commit 2b1908c

Browse files
committed
update: 更新为用户主页配置,修正路径为根路径
1 parent 38939fa commit 2b1908c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/.vitepress/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default defineConfig({
55
title: 'PandaTest',
66
description: '云真机测试平台官方文档',
77
lang: 'zh-CN',
8-
base: '/pandatestgrid.github.io/',
8+
base: '/',
99

1010
// 启用暗色模式切换
1111
appearance: 'dark',
@@ -14,14 +14,14 @@ export default defineConfig({
1414
ignoreDeadLinks: true,
1515

1616
head: [
17-
['link', { rel: 'icon', href: '/pandatestgrid.github.io/favicon.ico' }],
17+
['link', { rel: 'icon', href: '/favicon.ico' }],
1818
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1.0' }],
1919
['meta', { name: 'keywords', content: 'cloud testing, mobile testing, automation testing, vue, vuetify' }]
2020
],
2121

2222
themeConfig: {
2323
// https://vitepress.dev/reference/default-theme-config
24-
logo: '/pandatestgrid.github.io/logo.png',
24+
logo: '/logo.png',
2525
siteTitle: 'PandaTest',
2626

2727
nav: [
@@ -74,7 +74,7 @@ export default defineConfig({
7474
},
7575

7676
socialLinks: [
77-
{ icon: 'github', link: 'https://github.com/Maxwellos/pandatestgrid.github.io' }
77+
{ icon: 'github', link: 'https://github.com/PandaTestGrid/pandatestgrid.github.io' }
7878
],
7979

8080
footer: {
@@ -107,7 +107,7 @@ export default defineConfig({
107107
},
108108

109109
editLink: {
110-
pattern: 'https://github.com/Maxwellos/pandatestgrid.github.io/edit/main/docs/:path',
110+
pattern: 'https://github.com/PandaTestGrid/pandatestgrid.github.io/edit/main/docs/:path',
111111
text: '编辑此页'
112112
},
113113

0 commit comments

Comments
 (0)