Skip to content

Commit 3878f31

Browse files
committed
zz
1 parent 9354d3b commit 3878f31

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

docs/.vitepress/config.ts

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,29 @@ import { generateSidebarItems } from './helper/sidebarItems'
66
import HighlightedExt from './plugins/highlightedExt'
77

88
export default async () => defineConfig({
9-
lang: 'zh-CN',
10-
title: '凹语言',
11-
description: '针对 WASM 平台设计的通用编程语言',
9+
lang: 'en-US',
10+
title: 'Wa-lang',
11+
description: 'General-purpose language designed for WebAssembly',
1212
appearance: true,
1313

1414
locales: {
15-
root: { label: '简体中文' },
16-
en: { label: 'English', link: 'https://en.wa-lang.org' },
15+
root: { label: 'English' },
16+
chs: { label: '中文', link: 'https://wa-lang.org' },
1717
},
1818

1919
themeConfig: {
2020
logo: '/favicon.svg',
2121

22-
editLink: {
23-
pattern: 'https://github.com/wa-lang/wa-lang.github.io/edit/master/docs/:path',
24-
text: '为此页提供修改建议',
25-
},
26-
2722
algolia: {
2823
appId: '3401L2T8D6',
2924
apiKey: '98dd501bfa6f60574e303792007e262c',
3025
indexName: 'wa-lang',
3126
},
3227

3328
nav: [
34-
{ text: '灵魂拷问', link: '/qa/', activeMatch: '/qa/' },
35-
{ text: '参考手册', link: 'https://wa-lang.org/man/' },
29+
{ text: 'Manual', link: 'https://wa-lang.org/man/' },
3630
{ text: 'Playground', link: 'https://wa-lang.org/playground/' },
37-
{ text: '碎碎念', link: '/smalltalk/', activeMatch: '/smalltalk/' },
38-
{ text: '社区', link: '/community/', activeMatch: '/community/' },
31+
{ text: 'Examples', link: '/excamples/', activeMatch: '/excamples/' },
3932
],
4033

4134
socialLinks: [
@@ -70,9 +63,9 @@ export default async () => defineConfig({
7063
],
7164
'/examples/': [
7265
{
73-
text: '案例',
66+
text: 'Examples',
7467
items: [
75-
{ text: '小游戏', link: '/examples/' },
68+
{ text: 'Snake Game', link: '/examples/' },
7669
],
7770
},
7871
],
@@ -132,7 +125,7 @@ export default async () => defineConfig({
132125
],
133126
},
134127
footer: {
135-
copyright: '版权 ©️ 凹语言开发组 2018,保留权利',
128+
copyright: '©️ Wa-lang Dev Team, 2018',
136129
},
137130
},
138131

0 commit comments

Comments
 (0)