Skip to content

Commit c8c28d6

Browse files
committed
fishcpy docs
1 parent 5f5aad2 commit c8c28d6

File tree

4 files changed

+37
-1
lines changed

4 files changed

+37
-1
lines changed

docs/.vitepress/config.mts

+16-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,21 @@ export default defineConfig({
3131

3232
socialLinks: [
3333
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
34-
]
34+
],
35+
36+
footer: {
37+
message: `
38+
<div class="footer-custom">
39+
<a href="https://icp.gov.moe/?keyword=20250110" target="_blank">萌ICP备20250110号</a>
40+
<br/>
41+
<a href="https://www.travellings.cn/go.html" target="_blank" rel="noopener" title="开往-友链接力">
42+
<div align="center">
43+
<img src="https://www.travellings.cn/assets/logo.gif" alt="开往-友链接力" width="120">
44+
</div>
45+
</a>
46+
</div>
47+
`,
48+
copyright: 'Copyright © 2025-2025 fishcpy'
49+
}
3550
}
3651
})

docs/.vitepress/theme/custom.css

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.footer-custom {
2+
border-top: none !important;
3+
padding-top: 24px;
4+
margin-top: 24px;
5+
text-align: center;
6+
}
7+
8+
.VPDoc .content-container {
9+
max-width: 100% !important;
10+
}
11+
12+
.VPFooter {
13+
border-top: none !important;
14+
}

docs/.vitepress/theme/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import DefaultTheme from 'vitepress/theme'
22
import { Theme } from 'vitepress'
3+
import './custom.css'
34

45
export default {
56
...DefaultTheme

vercel.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"buildCommand": "npm run docs:build",
3+
"outputDirectory": "docs/.vitepress/dist",
4+
"installCommand": "npm install",
5+
"framework": "vitepress"
6+
}

0 commit comments

Comments
 (0)