Skip to content

Commit

Permalink
zh语言重构
Browse files Browse the repository at this point in the history
  • Loading branch information
XTsat committed Sep 15, 2023
1 parent 75e6abe commit cdbdd6c
Show file tree
Hide file tree
Showing 79 changed files with 82 additions and 464 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ node_modules
.temp
.cache
website
dist
dist
.obsidian
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

欢迎访问 Steam++ 指南,你可以在这里找到 Steam++ 工具箱的使用帮助

文档还在制作过程中,你可以提出更多的文档内容
Steam++ 工具箱推出3.0版本,本指南也将逐步升级3.0版本指南界面

详细指南请前往文档链接:<https://xtsat.github.io/SteamTools-Guide/>

Expand Down
78 changes: 0 additions & 78 deletions docs/.vuepress/config.js.bak

This file was deleted.

37 changes: 3 additions & 34 deletions docs/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default defineUserConfig({

// site-level locales config
locales: {
'/': {
'/zh/': {
lang: '简体中文',
title: 'Watt Toolkit 指南',
description: '「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。',
Expand Down Expand Up @@ -92,7 +92,7 @@ export default defineUserConfig({
editLinkText: 'Edit this page on GitHub',
},

'/': {
'/zh/': {
// navbar
navbar: navbar.zh,
selectLanguageName: '简体中文',
Expand Down Expand Up @@ -148,44 +148,13 @@ export default defineUserConfig({
placeholder: 'Search',
hotKeys: ['/']
},
'/': {
'/zh/': {
placeholder: '搜索文档',
hotKeys: ['/']
}
},
}),
],

// 旧的插件配置方式暂时保留注释

// plugins: [
// [
// searchPlugin({
// locales: {
// '/en/': {
// placeholder: 'Search',
// hotKeys: ['/']
// },
// '/': {
// placeholder: '搜索文档',
// hotKeys: ['/']
// }
// },
// }),
// ],
// [
// "vuepress-plugin-auto-sidebar",
// {
// title: {
// // 更多选项:
// // `default`、`lowercase`、`uppercase`、`capitalize`、`camelcase`、`kebabcase`、`titlecase`
// mode: "titlecase"
// },
// removeEmptyGroup: true,
// }
// ],

// ['vuepress-plugin-auto-sidebar', false] // disabled.
// ],
}
)
216 changes: 0 additions & 216 deletions docs/.vuepress/configs/navbar/navbar.js

This file was deleted.

Loading

0 comments on commit cdbdd6c

Please sign in to comment.