generated from icrdr/omoolab-project
- Removed obsolete theme index and documentation files. - Deleted unused images and canvas files. - Added new images for notes and updated canvas files. - Enhanced Viewer component with improved zoom and fullscreen functionalities. - Updated wiki configuration with new navigation and sidebar structure. - Created new index pages for notes and wiki with categorized content. - Updated links and references in markdown files to reflect new structure.
54 lines
1.4 KiB
TypeScript
54 lines
1.4 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
export default defineConfig({
|
|
title: "OmooLab",
|
|
description: "An OmooLab Project",
|
|
base: '/', // Replace with your repository name if deploying to GitHub Pages
|
|
themeConfig: {
|
|
logo: '/logo.png',
|
|
siteTitle: false,
|
|
nav: [
|
|
{ text: '首页', link: '/' },
|
|
{ text: '记录', link: '/notes/' },
|
|
{ text: '我们', link: 'https://www.omoolab.xyz' }
|
|
],
|
|
sidebar: {
|
|
'/': [
|
|
{
|
|
text: '导航',
|
|
items: [
|
|
{ text: '首页', link: '/' },
|
|
{ text: '笔记列表', link: '/notes/' },
|
|
{ text: '测试笔记', link: '/notes/测试导出/' }
|
|
]
|
|
}
|
|
],
|
|
'/notes/': [
|
|
{
|
|
text: '笔记',
|
|
items: [
|
|
{ text: '所有笔记', link: '/notes/' },
|
|
{ text: '测试笔记', link: '/notes/测试导出/' }
|
|
]
|
|
},
|
|
{
|
|
text: '画板',
|
|
items: [
|
|
{ text: '测试画板 1', link: '/notes/测试画板-1.canvas/' },
|
|
{ text: '测试画板 2', link: '/notes/测试画板-2.canvas/' }
|
|
]
|
|
}
|
|
]
|
|
},
|
|
footer: {
|
|
message: '<a href="https://beian.miit.gov.cn/" target="_blank">浙ICP备2025208399号-1</a>',
|
|
copyright: 'Copyright © 2025-present OmooLab'
|
|
},
|
|
search: {
|
|
provider: 'local'
|
|
}
|
|
},
|
|
|
|
})
|