Files
action-sandbox/wiki/.vitepress/config.mts
nan d2425dc2be feat: restructure wiki and notes, enhance Viewer component
- 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.
2026-04-22 12:02:32 +08:00

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'
}
},
})