File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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} )
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 11import DefaultTheme from 'vitepress/theme'
22import { Theme } from 'vitepress'
3+ import './custom.css'
34
45export default {
56 ...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