docs: 更新文档配置
This commit is contained in:
parent
a15d6ec6c3
commit
f2c9e426e5
@ -166,7 +166,7 @@ function nav(): DefaultTheme.NavItem[] {
|
|||||||
text: 'y-code-platform',
|
text: 'y-code-platform',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
link: 'https://y-code-platform.shiyuegame.com',
|
link: 'https://y-code.shiyue.com',
|
||||||
text: 'Demo Version',
|
text: 'Demo Version',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -195,15 +195,15 @@ function nav(): DefaultTheme.NavItem[] {
|
|||||||
text: '悦码 2.0',
|
text: '悦码 2.0',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
link: 'https://y-code-platform.shiyuegame.com',
|
link: 'https://y-code.shiyue.com',
|
||||||
text: '生产版本',
|
text: '生产版本',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://y-code-platform-pre.shiyue.com',
|
link: 'https://y-code-pre.shiyue.com',
|
||||||
text: '预发布版本',
|
text: '预发布版本',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
link: 'https://y-code-platform.shiyuegame.com',
|
link: 'https://y-code.shiyue.com',
|
||||||
text: '演示版本',
|
text: '演示版本',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@ -8,6 +8,8 @@
|
|||||||
"build:staging": "pnpm build",
|
"build:staging": "pnpm build",
|
||||||
"preview": "vitepress preview",
|
"preview": "vitepress preview",
|
||||||
"dev": "vitepress dev",
|
"dev": "vitepress dev",
|
||||||
|
"dev:staging": "vitepress dev --mode dev-staging",
|
||||||
|
"dev:prod": "vitepress dev --mode dev-production",
|
||||||
"docs:preview": "vitepress preview"
|
"docs:preview": "vitepress preview"
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
|
|||||||
@ -16,7 +16,7 @@ hero:
|
|||||||
link: /guide/introduction/platform
|
link: /guide/introduction/platform
|
||||||
- theme: alt
|
- theme: alt
|
||||||
text: 立即体验 ->
|
text: 立即体验 ->
|
||||||
link: https://y-code-platform.shiyuegame.com
|
link: https://y-code.shiyue.com
|
||||||
|
|
||||||
features:
|
features:
|
||||||
- icon: 🚀
|
- icon: 🚀
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 turbo build",
|
"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: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:analyze": "turbo build:analyze",
|
||||||
"build:docker": "./scripts/deploy/build-local-docker-image.sh",
|
"build:docker": "./scripts/deploy/build-local-docker-image.sh",
|
||||||
"build:docs": "pnpm run build --filter=@vben/docs",
|
"build:docs": "pnpm run build --filter=@vben/docs",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user