Add custom font styles and theme enhancements
- Created a new CSS file for font imports and defined font families for base, mono, strong, em, and h1 elements. - Added a new JavaScript file to extend the default VitePress theme, incorporating a custom layout and a Vue component for enhanced functionality. - Integrated Mermaid diagram support and included the necessary styles for it.
This commit is contained in:
22
.claude/commands/oki/publish.md
Normal file
22
.claude/commands/oki/publish.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: "OKI: Publish"
|
||||
description: 本地知识库查看、发布
|
||||
category: Knowledge
|
||||
tags: [knowledge, wiki, publish]
|
||||
---
|
||||
|
||||
本地知识库查看、发布
|
||||
|
||||
## 指令参数
|
||||
|
||||
- `--preview`、`-p`变为预览(默认发布)
|
||||
|
||||
## 发布步骤
|
||||
|
||||
1. 执行`cd openwiki && pnpm build`
|
||||
2. 若报错,修复错误
|
||||
3. 执行`bash scripts/deploy.sh`
|
||||
|
||||
## 预览步骤
|
||||
|
||||
1. 执行`cd openwiki && pnpm dev`
|
||||
Reference in New Issue
Block a user