Skip to content

Commit 38dd496

Browse files
committed
美化
1 parent 23f39d8 commit 38dd496

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

docs/.vitepress/theme/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
import DefaultTheme from 'vitepress/theme'
22
import Layout from './Layout.vue'
3+
import { Underline } from '@theojs/lumen'
34
import './custom.css'
45
import './style/index.css'
56
import 'artalk/dist/Artalk.css'
67

78
export default {
89
extends: DefaultTheme,
9-
Layout
10+
Layout,
11+
enhanceApp: ({ app }) => {
12+
app.component('Home', Underline)
13+
}
1014
}

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ comments: false
55

66
hero:
77
name: "fishcpy docs"
8-
text: "fishcpy 文档"
8+
text: "fishcpy" # 副标题文本前半部分,下划线会作用于这里
9+
textsuffix: " 文档" # 副标题文本后半部分
910
tagline: Hi👋,欢迎来到fishcpy docs
1011
actions:
1112
- theme: brand

pnpm-lock.yaml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)