Skip to content

Commit 75d4759

Browse files
committed
update chinese config
1 parent 420bfb2 commit 75d4759

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

docs/.vuepress/config.js

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ module.exports = config({
2929
lang: "en-US",
3030
},
3131
"/zh/": {
32-
title: "Theme Demo",
33-
description: "vuepress-theme-hope 的 demo",
32+
lang: "zh-CN",
3433
},
3534
},
3635

@@ -50,33 +49,10 @@ module.exports = config({
5049
locales: {
5150
"/zh/": {
5251
nav: [
53-
{ text: "博客主页", link: "/zh/", icon: "home" },
54-
{ text: "项目主页", link: "/zh/home/", icon: "home" },
55-
{
56-
text: "如何使用",
57-
icon: "creative",
58-
link: "/zh/guide/",
59-
},
60-
{
61-
text: "主题文档",
62-
icon: "note",
63-
link: "https://vuepress-theme-hope.github.io/zh/",
64-
},
52+
{ text: "Patterns", link: "/zh/patterns/", icon: "home" },
53+
{ text: "Principles", link: "/zh/principles/", icon: "home" },
54+
{ text: "Snippets", link: "/zh/snippets/", icon: "home" },
6555
],
66-
sidebar: {
67-
"/zh/": [
68-
"",
69-
"home",
70-
"slides",
71-
"layout",
72-
{
73-
title: "如何使用",
74-
icon: "creative",
75-
prefix: "guide/",
76-
children: ["", "page", "markdown", "disable", "encrypt"],
77-
},
78-
],
79-
},
8056
},
8157
},
8258

0 commit comments

Comments
 (0)