This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 35a0054
Showing
101 changed files
with
41,841 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.vuepress/.cache | ||
.vuepress/.temp | ||
node_modules |
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import { defineUserConfig } from "vuepress"; | ||
import type { DefaultThemeOptions } from "vuepress"; | ||
import recoTheme from "vuepress-theme-reco"; | ||
import { mdEnhancePlugin } from "vuepress-plugin-md-enhance"; | ||
|
||
|
||
export default defineUserConfig({ | ||
title: "vuepress-theme-reco", | ||
description: "Just playing around", | ||
|
||
plugins: [ | ||
mdEnhancePlugin({ | ||
// 使用 KaTeX 启用 TeX 支持 | ||
katex: true, | ||
// 使用 mathjax 启用 TeX 支持 | ||
mathjax: false, | ||
}), | ||
], | ||
|
||
theme: recoTheme({ | ||
style: "@vuepress-reco/style-default", | ||
logo: "/logo.png", | ||
author: "YuJiahan", | ||
authorAvatar: "/head.png", | ||
docsRepo: "https://github.com/vuepress-reco/vuepress-theme-reco-next", | ||
docsBranch: "main", | ||
docsDir: "example", | ||
lastUpdatedText: "", | ||
|
||
|
||
|
||
// series 为原 sidebar | ||
series: { | ||
"/docs/theme-reco/": [ | ||
{ | ||
text: "module one", | ||
children: ["home", "theme"], | ||
}, | ||
{ | ||
text: "module two", | ||
children: ["api", "plugin"], | ||
}, | ||
], | ||
}, | ||
navbar: [ | ||
{ text: "Home", link: "/" }, | ||
{ text: "Categories", link: "/categories/reco/1/" }, | ||
{ text: "Tags", link: "/tags/tag1/1/" }, | ||
{ | ||
text: "Docs", | ||
children: [ | ||
{ text: "vuepress-reco", link: "/docs/theme-reco/theme" }, | ||
{ text: "vuepress-theme-reco", link: "/blogs/other/guide" }, | ||
], | ||
}, | ||
], | ||
// commentConfig: { | ||
// type: 'valie', | ||
// // options 与 1.x 的 valineConfig 配置一致 | ||
// options: { | ||
// // appId: 'xxx', | ||
// // appKey: 'xxx', | ||
// // placeholder: '填写邮箱可以收到回复提醒哦!', | ||
// // verify: true, // 验证码服务 | ||
// // notify: true, | ||
// // recordIP: true, | ||
// // hideComments: true // 隐藏评论 | ||
// }, | ||
// }, | ||
}), | ||
// debug: true, | ||
}); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
home: true | ||
modules: | ||
- BannerBrand | ||
- Footer | ||
bannerBrand: | ||
bgImage: '/bg.svg' | ||
title: Mr.Yu's blog | ||
description: 一名后端菜鸡的技术博客 | ||
tagline: 欢迎来到我的博客。 | ||
buttons: | ||
- { text: 进入博客, link: '/blogs/bloghome' } | ||
- { text: Gitee Homepage, link: 'https://gitee.com/yjh-biancheng', type: 'plain' } | ||
# socialLinks: | ||
# - { icon: 'LogoGithub', link: 'https://github.com/vuepress-reco/vuepress-theme-reco' } | ||
# - { icon: '.vuepress\public\logo.png', link: 'https://gitee.com/yjh-biancheng' } | ||
|
||
isShowTitleInHome: true | ||
actionText: About | ||
actionLink: /views/other/about | ||
--- |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.