add vitepress and workflow
All checks were successful
Deploy to Aliyun OSS / deploy (push) Successful in 24s

This commit is contained in:
2026-04-21 20:02:53 +08:00
parent 1065700037
commit 0e5b3527b0
22 changed files with 2704 additions and 21 deletions

View File

@@ -0,0 +1,8 @@
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
})

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
import DefaultTheme from 'vitepress/theme'
import Viewer from './components/Viewer.vue'
/** @type {import('vitepress').Theme} */
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
app.component('Viewer', Viewer)
}
}

1
docs/index.md Normal file
View File

@@ -0,0 +1 @@
# OmooLab Wiki

View File

@@ -0,0 +1,7 @@
# 测试笔记 - Canvas 导出
这是一个用于测试 Canvas 导出功能的笔记。
<Viewer src="/Untitled.png" />
<Viewer src="/canvas.png" />

BIN
docs/public/Untitled.png LFS Normal file

Binary file not shown.

BIN
docs/public/canvas.png LFS Normal file

Binary file not shown.