Skip to content

Commit 6ec73b8

Browse files
committed
2 parents aca8659 + 1770567 commit 6ec73b8

13 files changed

Lines changed: 301 additions & 586 deletions

File tree

docs/.vitepress/config.mts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from 'vitepress'
2-
import { en } from './en'
2+
// import { en } from './en'
33
import { zh } from './zh'
44

55
// https://vitepress.dev/reference/site-config
@@ -16,7 +16,7 @@ export default defineConfig({
1616
],
1717

1818
lastUpdated: {
19-
text: "Updated at",
19+
text: "最后更新于",
2020
formatOptions: {
2121
dateStyle: 'full',
2222
timeStyle: 'medium',
@@ -44,23 +44,23 @@ export default defineConfig({
4444
}
4545
}
4646
},
47-
en: {
48-
translations: {
49-
button: {
50-
buttonText: 'Search',
51-
buttonAriaLabel: 'Search',
52-
},
53-
modal: {
54-
noResultsText: 'No results found',
55-
resetButtonTitle: 'Clear search criteria',
56-
footer: {
57-
selectText: 'to select',
58-
navigateText: 'to navigate',
59-
closeText: 'to close',
60-
}
61-
}
62-
}
63-
}
47+
// en: {
48+
// translations: {
49+
// button: {
50+
// buttonText: 'Search',
51+
// buttonAriaLabel: 'Search',
52+
// },
53+
// modal: {
54+
// noResultsText: 'No results found',
55+
// resetButtonTitle: 'Clear search criteria',
56+
// footer: {
57+
// selectText: 'to select',
58+
// navigateText: 'to navigate',
59+
// closeText: 'to close',
60+
// }
61+
// }
62+
// }
63+
// }
6464
}
6565
}
6666
},
@@ -74,7 +74,7 @@ export default defineConfig({
7474

7575
// 国际化配置
7676
locales: {
77-
root: { label: 'English', ...en },
78-
zh: { label: '简体中文', ...zh },
77+
root: { label: '简体中文', ...zh },
78+
// en: { label: 'English', ...en },
7979
},
8080
})

docs/.vitepress/en.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { defineConfig } from 'vitepress'
44
export const en = defineConfig({
55
lang: 'en-US',
66
title: "SpectrumLab",
7-
description: "An Excellent Toolkit for Spectral Benchmark.",
8-
7+
description: "A pioneering unified platform designed to systematize and accelerate deep learning research in spectroscopy",
98
themeConfig: {
109
nav: [
1110
{ text: 'Home', link: '/en/' },
@@ -33,7 +32,7 @@ export const en = defineConfig({
3332
},
3433
footer: {
3534
message: 'Released under the MIT License',
36-
copyright: 'Copyright © 2024 SpectrumLab'
35+
copyright: 'Copyright © 2025 SpectrumLab'
3736
},
3837

3938
// 英文版本的组件文本

docs/.vitepress/theme/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@
1818
background-clip: text;
1919
-webkit-background-clip: text;
2020
-webkit-text-fill-color: transparent;
21+
}
22+
23+
.VPNavBarTitle .VPImage {
24+
width: 40px !important;
25+
height: 40px !important;
2126
}

docs/.vitepress/zh.ts

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,25 @@ import { defineConfig } from 'vitepress'
44
export const zh = defineConfig({
55
lang: 'zh-CN',
66
title: "SpectrumLab",
7-
description: "化学谱学大模型基准测试工具",
7+
description: "A pioneering unified platform designed to systematize and accelerate deep learning research in spectroscopy.",
88
themeConfig: {
9+
logo: {
10+
src: './assets/logo.svg',
11+
},
12+
913
nav: [
10-
{ text: '首页', link: '/zh/' },
1114
{ text: '教程', link: '/zh/tutorial' },
1215
{ text: 'API', link: '/zh/api' },
1316
{ text: '基准测试', link: '/zh/benchmark' },
17+
{ text: '排行榜', link: 'https://huggingface.co/spaces/SpectrumWorld/SpectrumLeaderboard' },
1418
],
19+
1520
sidebar: {
16-
'/zh/': [
21+
'/': [
1722
{
1823
text: '开始使用',
1924
items: [
20-
{ text: '介绍', link: '/zh/' },
25+
{ text: '介绍', link: '/' },
2126
{ text: '教程', link: '/zh/tutorial' },
2227
]
2328
},
@@ -26,13 +31,14 @@ export const zh = defineConfig({
2631
items: [
2732
{ text: 'API 参考', link: '/zh/api' },
2833
{ text: '基准测试', link: '/zh/benchmark' },
34+
{ text: '排行榜', link: 'https://huggingface.co/spaces/SpectrumWorld/SpectrumLeaderboard' },
2935
]
3036
}
3137
]
3238
},
3339
footer: {
3440
message: '基于 MIT 许可发布',
35-
copyright: 'Copyright © 2024 SpectrumLab'
41+
copyright: 'Copyright © 2025 SpectrumLab'
3642
},
3743
docFooter: {
3844
prev: '上一页',

docs/assets/lab.svg

Lines changed: 11 additions & 0 deletions
Loading

docs/assets/leaderboard.svg

Lines changed: 11 additions & 0 deletions
Loading

docs/assets/logo.svg

Lines changed: 9 additions & 0 deletions
Loading

docs/assets/world.svg

Lines changed: 10 additions & 0 deletions
Loading

docs/index.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ layout: home
33

44
hero:
55
name: "SpectrumLab"
6-
text: "化学谱学大模型基准测试工具"
7-
tagline: "专业的光谱学深度学习评估工具包"
6+
text: ""
7+
tagline: "开创性的统一平台,助力系统化与高效的光谱深度学习研究"
88
actions:
99
- theme: brand
1010
text: 快速开始
@@ -14,12 +14,16 @@ hero:
1414
link: https://github.com/little1d/SpectrumLab
1515

1616
features:
17-
- title: 多模态评估
17+
- title: 🔬 多模态评估
1818
details: 支持图像+文本的多模态光谱数据评估,兼容多种深度学习模型
19-
- title: 模型集成
20-
details: 集成 GPT-4o、DeepSeek、InternVL 等先进模型的 API 接口
21-
- title: 基准测试
19+
- title: 🤖 模型集成
20+
details: 集成 GPT-4o、Claude、DeepSeek、Qwen-VL 等先进模型的 API 接口
21+
- title: 📊 基准测试
2222
details: 提供标准化的评估流程和指标,支持多种光谱学任务类型
23-
- title: 命令行工具
23+
- title: 🏆 排行榜
24+
details: 实时更新的模型性能排行榜,支持多维度对比分析
25+
- title: 🚀 命令行工具
2426
details: 简洁的命令行界面,支持批量评估和结果管理
25-
---
27+
- title: 🔧 易于扩展
28+
details: 模块化设计,支持自定义评估器和模型的快速集成
29+
---

0 commit comments

Comments
 (0)