Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
smthing committed Feb 14, 2025
1 parent a096675 commit 45bb10b
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions pages/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ export default defineConfig({
},
plugins: [starlightImageZoomPlugin()],
// 为此网站设置英语为默认语言。
defaultLocale: 'zh-cn',
defaultLocale: 'root',
locales: {
'zh-cn': {
label: '简体中文',
lang: 'zh-CN',
},
// 'zh-cn': {
// label: '简体中文',
// lang: 'zh-CN',
// },
'en': {
label: 'English',
lang: 'en',
},
// 英文文档在 `src/content/docs/en/` 中。
root: {
label: 'English',
lang: 'en'
label: '简体中文',
lang: 'zh-CN',
}
},
sidebar: [
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ template: splash
hero:
tagline: smart-servlet 提供一个自主可控的轻量级 Tomcat/Undertow 可替代版本,重新定义下一代 Servlet 容器!
image:
file: ../../../assets/houston.webp
file: ../../assets/houston.webp
actions:
- text: 产品手册
link: ./guides/about/
Expand Down

0 comments on commit 45bb10b

Please sign in to comment.