docs: 更新文档配置

This commit is contained in:
wangxuefeng
2025-03-13 13:43:00 +08:00
parent a15d6ec6c3
commit f2c9e426e5
5 changed files with 8 additions and 5 deletions

View File

@@ -166,7 +166,7 @@ function nav(): DefaultTheme.NavItem[] {
text: 'y-code-platform',
items: [
{
link: 'https://y-code-platform.shiyuegame.com',
link: 'https://y-code.shiyue.com',
text: 'Demo Version',
},
{

View File

@@ -195,15 +195,15 @@ function nav(): DefaultTheme.NavItem[] {
text: '悦码 2.0',
items: [
{
link: 'https://y-code-platform.shiyuegame.com',
link: 'https://y-code.shiyue.com',
text: '生产版本',
},
{
link: 'https://y-code-platform-pre.shiyue.com',
link: 'https://y-code-pre.shiyue.com',
text: '预发布版本',
},
{
link: 'https://y-code-platform.shiyuegame.com',
link: 'https://y-code.shiyue.com',
text: '演示版本',
},
],

View File

@@ -8,6 +8,8 @@
"build:staging": "pnpm build",
"preview": "vitepress preview",
"dev": "vitepress dev",
"dev:staging": "vitepress dev --mode dev-staging",
"dev:prod": "vitepress dev --mode dev-production",
"docs:preview": "vitepress preview"
},
"imports": {

View File

@@ -16,7 +16,7 @@ hero:
link: /guide/introduction/platform
- theme: alt
text: 立即体验 ->
link: https://y-code-platform.shiyuegame.com
link: https://y-code.shiyue.com
features:
- icon: 🚀