Commit c8c28d6 1 parent 5f5aad2 commit c8c28d6 Copy full SHA for c8c28d6
File tree 4 files changed +37
-1
lines changed
4 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,21 @@ export default defineConfig({
31
31
32
32
socialLinks : [
33
33
{ 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
+ }
35
50
}
36
51
} )
Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change 1
1
import DefaultTheme from 'vitepress/theme'
2
2
import { Theme } from 'vitepress'
3
+ import './custom.css'
3
4
4
5
export default {
5
6
...DefaultTheme
Original file line number Diff line number Diff line change
1
+ {
2
+ "buildCommand" : " npm run docs:build" ,
3
+ "outputDirectory" : " docs/.vitepress/dist" ,
4
+ "installCommand" : " npm install" ,
5
+ "framework" : " vitepress"
6
+ }
You can’t perform that action at this time.
0 commit comments