-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
import { defineConfig } from 'vitepress' | ||
import { defineConfig } from 'vitepress'; | ||
const packageVersion = '0.0.0'; | ||
export default defineConfig({ | ||
title: 'vitepres-helper', | ||
description: 'vitepres-helper.', | ||
head: [ | ||
['link', { rel: 'icon', href: '/vitepress-helper/favicon.ico' }] //浏览器标签icon | ||
], | ||
themeConfig: { | ||
siteTitle: 'VitePress-Helper', //导航栏左侧名称 | ||
logo: '/static/nav-logo.svg', //导航栏左侧头像 | ||
outlineTitle: 'Catalog', //右侧 侧边栏标题 | ||
siteTitle: 'VitePress-Helper', | ||
outlineTitle: 'Catalog', | ||
search: { | ||
provider: 'local' // 离线搜索 | ||
provider: 'local' | ||
}, | ||
// 导航栏 | ||
nav: [ | ||
{ | ||
text: 'test', | ||
link: 'https://huyikai.xyz' | ||
} | ||
] | ||
docFooter: { | ||
prev: 'Pervious', | ||
next: 'Next' | ||
}, | ||
footer: { | ||
message: `Released under the <a href="https://github.com/huyikai/vitepress-helper/blob/master/license">MIT</a> License. Based on <a href="https://github.com/huyikai/vitepress-helper">vitepress-helper.v${packageVersion}</a>`, | ||
copyright: 'Copyright © 2023' | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters