Skip to content

Commit

Permalink
[non-related] chore: Clean up messy parts of the configurations
Browse files Browse the repository at this point in the history
Trying to synchronize code status of configuration files from bee0654.

Signed-off-by: crrashh1542 <[email protected]>
  • Loading branch information
crrashh1542 committed Jun 21, 2024
1 parent e97795c commit 479b35d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 15 deletions.
3 changes: 0 additions & 3 deletions docs/.vitepress/assets.d.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineConfig } from 'vitepress'
// import imageLogo from '../assets/logo.png'

import zhCn from './locales/zh-cn'
import en from './locales/en'
Expand All @@ -17,7 +16,9 @@ export default defineConfig({
},

themeConfig: {
// logo: imageLogo,
search: {
provider: 'local'
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/mspcmanager/mspcm-docs' }
]
Expand Down
9 changes: 5 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineConfig } from 'vitepress'
// import imageLogo from '../assets/logo.png'

import zhCn from './locales/zh-cn'
import en from './locales/en'
Expand All @@ -12,12 +11,14 @@ export default defineConfig({
lastUpdated: true,
cleanUrls: false,
locales: {
root: { label: 'English', dir: 'en', ...en },
"zh-cn": { label: '简体中文', dir: 'zh-cn', ...zhCn },
root: { label: 'English', lang: 'en-us', ...en },
'zh-cn': { label: '简体中文', lang: 'zh-cn', ...zhCn },
},

themeConfig: {
// logo: imageLogo,
search: {
provider: 'local'
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/mspcmanager/mspcm-docs' }
]
Expand Down
3 changes: 0 additions & 3 deletions docs/.vitepress/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ export default defineConfig({
footer: {
message: 'This documentation is released under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> License',
copyright: 'Copyright © 2023-2024 Microsoft PC Manager Administrators'
},
search: {
provider: 'local'
}
}
})
Expand Down
3 changes: 0 additions & 3 deletions docs/.vitepress/locales/zh-cn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export default defineConfig({
footer: {
message: '本文档基于 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0 协议</a> 发布',
copyright: 'Copyright © 2023-2024 Microsoft PC Manager Administrators'
},
search: {
provider: 'local'
}
}
})
Expand Down

0 comments on commit 479b35d

Please sign in to comment.