This commit is contained in:
@@ -22,6 +22,26 @@ export default defineConfig({
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
externalLinkIcon: true,
|
||||
logo: "/noto--bookmark-tabs.svg",
|
||||
search: {
|
||||
provider: "local",
|
||||
options: {
|
||||
translations: {
|
||||
button: { buttonText: "搜索文档", buttonAriaLabel: "搜索文档" },
|
||||
modal: {
|
||||
noResultsText: "无法找到相关结果",
|
||||
resetButtonTitle: "清除查询条件",
|
||||
displayDetails: "显示更多结果",
|
||||
backButtonTitle: "返回",
|
||||
footer: {
|
||||
selectText: "选择",
|
||||
navigateText: "切换",
|
||||
closeText: "关闭",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
nav: [
|
||||
{ text: "首页", link: "/" },
|
||||
{ text: "编程基础", link: "/basic/manual/book/index.md" },
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
:lang(zh) {
|
||||
--vp-code-copy-copied-text-content: '已复制'
|
||||
}
|
||||
@@ -3,7 +3,6 @@ import DefaultTheme from "vitepress/theme"
|
||||
import BVideo from "./components/BVideo.vue"
|
||||
import Author from "./components/Author.vue"
|
||||
import CodeEditor from "./components/CodeEditor.vue"
|
||||
import './custom.css'
|
||||
|
||||
export default {
|
||||
extends: DefaultTheme,
|
||||
|
||||
Reference in New Issue
Block a user