Skip to content

Commit ffb6522

Browse files
committed
[docs update] 添加图标
1 parent acd5340 commit ffb6522

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/.vuepress/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ module.exports = config({
249249
"数据库基础知识",
250250
"字符集",
251251
{
252-
title: "MySQL", prefix: "mysql/",
252+
title: "MySQL", prefix: "mysql/", icon: "mysql",
253253
children: [
254254
"mysql知识点&面试题总结",
255255
"a-thousand-lines-of-mysql-study-notes",
@@ -260,7 +260,7 @@ module.exports = config({
260260
],
261261
},
262262
{
263-
title: "Redis", prefix: "redis/",
263+
title: "Redis", prefix: "redis/", icon: "redis",
264264
children: ["redis-questions-01", "3-commonly-used-cache-read-and-write-strategies"],
265265
},
266266
],
@@ -321,7 +321,7 @@ module.exports = config({
321321
children: [
322322
"读写分离&分库分表", "负载均衡",
323323
{
324-
title: "消息队列", prefix: "message-queue/",
324+
title: "消息队列", prefix: "message-queue/", icon: "MQ",
325325
children: ["message-queue", "kafka知识点&面试题总结", "rocketmq-intro", "rocketmq-questions", "rabbitmq-intro"],
326326
},
327327
],

docs/.vuepress/styles/index.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// import icon
2-
@import '//at.alicdn.com/t/font_2922463_m6dpqhk3xfh.css'
2+
@import '//at.alicdn.com/t/font_2922463_j457c9usui.css'

0 commit comments

Comments
 (0)