-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00bb04a
commit 2182bd8
Showing
22 changed files
with
1,129 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import { defineConfig } from 'vitepress' | ||
|
||
export const en = defineConfig({ | ||
lang: 'en', | ||
description: "Official website for GBT series packages and mod", | ||
|
||
themeConfig: { | ||
nav: [ | ||
{ text: 'Homepage', link: '/en/' }, | ||
{ text: 'Introduction', link: '/en/intro/' }, | ||
{ text: 'Download', link: '/en/download/' }, | ||
{ text: 'Authentication', link: '/en/auth/' }, | ||
{ text: 'Update', link: '/en/update' }, | ||
{ text: 'Thanks', link: '/en/thanks' } | ||
], | ||
|
||
sidebar: { | ||
'/en/intro/': [ | ||
{ | ||
text: 'Introduction', | ||
items: [ | ||
{ text: 'Main Package', link: '/en/intro/' }, | ||
{ text: 'Traffic Signs Package (Suspend Publication)', link: '/en/intro/road' }, | ||
{ text: 'Mod (Suspend Publication)', link: '/en/intro/mod' } | ||
] | ||
} | ||
], | ||
'/en/auth/': [ | ||
{ | ||
text: 'Authentication', | ||
items: [ | ||
{ text: 'Application', link: '/en/auth/' }, | ||
{ text: 'Application Feedback / Blacklist', link: '/en/auth/subscribe' } | ||
] | ||
} | ||
], | ||
'/en/download/': [ | ||
{ | ||
text: 'Main Package', | ||
collapsed: true, | ||
items: [ | ||
{ text: 'v1.2-hotfix-1 (Latest)', link: '/en/download/main/v1.2-hotfix-1' }, | ||
{ text: 'v1.1-hotfix-1', link: '/en/download/main/v1.1-hotfix-1' } | ||
] | ||
}, | ||
{ | ||
text: 'Traffic Signs Package (Suspend Publication)', | ||
collapsed: true, | ||
items: [ | ||
{ text: 'v1.0', link: '/en/download/traffic-signs/v1.0' } | ||
] | ||
}, | ||
{ | ||
text: 'Mod (Suspend Publication)', | ||
collapsed: true, | ||
items: [ | ||
{ text: 'v0.1', link: '/en/download/mod/v0.1' } | ||
] | ||
} | ||
] | ||
}, | ||
|
||
search: { | ||
provider: 'local' | ||
}, | ||
|
||
footer: { | ||
message: 'GBT Series Pack, Focused on Signage', | ||
copyright: 'The English version is translated by Baidu Translate and Microsoft Copilot.<br>Unless otherwise noted, the content on this site follows the <a href="https://creativecommons.org/licenses/by-nc/4.0/deed.zh-hans" target="_blank">CC-BY-NC 4.0 International</a> License.<br>This is not an official Minecraft service. Not affiliated with Mojang or Microsoft.' | ||
}, | ||
|
||
editLink: { | ||
pattern: '//github.com/Minecraft-GBT/docs/edit/main/:path', | ||
text: 'Edit this page on GitHub' | ||
}, | ||
lastUpdated: { | ||
formatOptions: { | ||
dateStyle: 'short', | ||
timeStyle: 'medium' | ||
} | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { defineConfig } from 'vitepress' | ||
import { shared } from './shared.mts' | ||
import { en } from './en.mts' | ||
import { zh } from './zh.mts' | ||
|
||
export default defineConfig({ | ||
...shared, | ||
locales: { | ||
root: { label: '简体中文', ...zh }, | ||
en: { label: 'English', ...en } | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
import { defineConfig } from 'vitepress' | ||
|
||
export const zh = defineConfig({ | ||
lang: 'zh', | ||
description: "GBT 系列包及其配套模组官方网站", | ||
|
||
themeConfig: { | ||
nav: [ | ||
{ text: '首页', link: '/' }, | ||
{ text: '介绍', link: '/intro/' }, | ||
{ text: '下载', link: '/download/' }, | ||
{ text: '授权', link: '/auth/' }, | ||
{ text: '更新', link: '/update' }, | ||
{ text: '鸣谢', link: '/thanks' } | ||
], | ||
|
||
sidebar: { | ||
'/intro/': [ | ||
{ | ||
text: '介绍', | ||
items: [ | ||
{ text: '主包', link: '/intro/' }, | ||
{ text: '道路交通标志包 (暂缓发布)', link: '/intro/road' }, | ||
{ text: '模组 (暂缓发布)', link: '/intro/mod' } | ||
] | ||
} | ||
], | ||
'/auth/': [ | ||
{ | ||
text: '授权', | ||
items: [ | ||
{ text: '申请', link: '/auth/' }, | ||
{ text: '申请反馈 / 黑名单', link: '/auth/subscribe' } | ||
] | ||
} | ||
], | ||
'/download/': [ | ||
{ | ||
text: '主包', | ||
collapsed: true, | ||
items: [ | ||
{ text: 'v1.2-hotfix-1 (最新)', link: '/download/main/v1.2-hotfix-1' }, | ||
{ text: 'v1.1-hotfix-1', link: '/download/main/v1.1-hotfix-1' } | ||
] | ||
}, | ||
{ | ||
text: '道路交通标志包 (暂缓发布)', | ||
collapsed: true, | ||
items: [ | ||
{ text: 'v1.0', link: '/download/traffic-signs/v1.0' } | ||
] | ||
}, | ||
{ | ||
text: '模组 (暂缓发布)', | ||
collapsed: true, | ||
items: [ | ||
{ text: 'v0.1', link: '/download/mod/v0.1' } | ||
] | ||
} | ||
] | ||
}, | ||
|
||
search: { | ||
provider: 'local', | ||
options: { | ||
translations: { | ||
button: { | ||
buttonText: '搜索文档', | ||
buttonAriaLabel: '搜索文档' | ||
}, | ||
modal: { | ||
displayDetails: '显示详情', | ||
noResultsText: '无法找到相关结果', | ||
resetButtonTitle: '清除查询条件', | ||
footer: { | ||
selectText: '选择', | ||
navigateText: '切换', | ||
closeText: '关闭' | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
|
||
footer: { | ||
message: 'GBT 系列包,专注指示牌', | ||
copyright: '如无特别提示,本站内容均遵循<a href="https://creativecommons.org/licenses/by-nc/4.0/deed.zh-hans" target="_blank">知识共享-署名-非商业性使用 4.0 国际</a>协议<br>非 Minecraft 官方服务。与 Mojang 或 Microsoft 无隶属关系。' | ||
}, | ||
|
||
editLink: { | ||
pattern: '//github.com/Minecraft-GBT/docs/edit/main/:path', | ||
text: '在 GitHub 上编辑本页' | ||
}, | ||
|
||
docFooter: { | ||
prev: '上一页', | ||
next: '下一页' | ||
}, | ||
|
||
outline: { | ||
label: '页面导航' | ||
}, | ||
notFound: { | ||
title: '页面已丢失', | ||
quote: '谁把你带到这来了?', | ||
linkLabel: '返回主页', | ||
linkText: '返回主页' | ||
}, | ||
lastUpdated: { | ||
text: '最后更新于', | ||
formatOptions: { | ||
dateStyle: 'short', | ||
timeStyle: 'medium' | ||
} | ||
}, | ||
|
||
langMenuLabel: '多语言', | ||
returnToTopLabel: '回到顶部', | ||
sidebarMenuLabel: '菜单', | ||
darkModeSwitchLabel: '主题', | ||
lightModeSwitchTitle: '切换到浅色模式', | ||
darkModeSwitchTitle: '切换到深色模式', | ||
} | ||
}) |
Oops, something went wrong.