docs: 更新文档配置
This commit is contained in:
parent
a15d6ec6c3
commit
f2c9e426e5
@ -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',
|
||||
},
|
||||
{
|
||||
|
||||
@ -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: '演示版本',
|
||||
},
|
||||
],
|
||||
|
||||
@ -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": {
|
||||
|
||||
@ -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: 🚀
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build",
|
||||
"build:staging": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build:staging",
|
||||
"build:prod": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build:prod",
|
||||
"build:analyze": "turbo build:analyze",
|
||||
"build:docker": "./scripts/deploy/build-local-docker-image.sh",
|
||||
"build:docs": "pnpm run build --filter=@vben/docs",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user