Skip to content

Commit

Permalink
升级项目主题
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenSino committed Nov 14, 2024
1 parent b231165 commit 71df992
Show file tree
Hide file tree
Showing 8 changed files with 4,997 additions and 7,091 deletions.
2 changes: 1 addition & 1 deletion docs/.vuepress/navbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default navbar([
"/",
{
text: "Java",
icon: "java",
icon: "pen-to-square",
prefix: "/java/",
children: [
{ text: "Java基础", icon: "java", link: "base/Serialization" },
Expand Down
36 changes: 29 additions & 7 deletions docs/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ export default hopeTheme({
name: "ChenSino",
url: "https://ChenSino.github.io",
},
iconAssets: "iconfont",
iconAssets: "fontawesome",
// iconAssets: [
// "iconfont"
// "fontawesome-with-brands"
// ],


logo: "/logo.svg",

repo: "ChenSino/ChenSino.github.io",
Expand Down Expand Up @@ -45,7 +46,6 @@ export default hopeTheme({
blog: {
name:"ChenSino",
avatar:"https://ddns.chensina.cn:29000/afatpig/blog/20220802180305.png",
roundAvatar: true,
description: "洛星星的爸爸",
intro: "https://chensina.cn/",
medias: {
Expand All @@ -72,9 +72,7 @@ export default hopeTheme({
},
},
},
blog: {

},
blog: true,
// 如果你不需要评论,可以直接删除 comment 配置,
// 以下配置仅供体验,如果你需要评论,请自行配置并使用自己的环境,详见文档。
// 为了避免打扰主题开发者以及消耗他的资源,请不要在你的正式环境中直接使用下列配置!!!!!
Expand All @@ -92,7 +90,31 @@ export default hopeTheme({

},
mdEnhance: {

align: true,
attrs: true,
component: true,
demo: true,
include: true,
mark: true,
plantuml: true,
spoiler: true,
stylize: [
{
matcher: "Recommended",
replacer: ({ tag }) => {
if (tag === "em")
return {
tag: "Badge",
attrs: { type: "tip" },
content: "Recommended",
};
},
},
],
sub: true,
sup: true,
tasklist: true,
vPre: true,
},
}
});
2 changes: 1 addition & 1 deletion docs/home.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
home: true
icon: home
icon: house
title: Home
heroImage: /logo.svg
heroText: ChenSino
Expand Down
2 changes: 1 addition & 1 deletion docs/java/advance/MysqlMasterSlave.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ tag:

5. 启动master

~~~/home/chenkun/DockerConfigs/mysql-cluster/master/mysql~~~是第二步设置的
`/home/chenkun/DockerConfigs/mysql-cluster/master/mysql`是第二步设置的

~~~shell
docker run --name mysql_master -p 3001:3306 -e MYSQL_ROOT_PASSWORD=root -v /home/chenkun/DockerConfigs/mysql-cluster/master/mysql:/etc/mysql -d mysql:latest
Expand Down
2 changes: 1 addition & 1 deletion docs/other/essay/im即时通信的需求.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 即时通信软件需求
date: 2024-8-20
date: 2024-08-20
author: chenkun
publish: true
isOriginal: true
Expand Down
Loading

0 comments on commit 71df992

Please sign in to comment.