Skip to content

Commit c5aeba8

Browse files
committed
[docs feat]添加图标
1 parent 5d36223 commit c5aeba8

20 files changed

+29
-13
lines changed

docs/.vuepress/sidebar.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ export const sidebarConfig = sidebar({
311311
children: [
312312
{
313313
text: "Spring&Spring Boot",
314+
icon: "bxl-spring-boot",
314315
prefix: "spring/",
315316
children: [
316317
"spring-knowledge-and-questions-summary",
@@ -338,13 +339,10 @@ export const sidebarConfig = sidebar({
338339
prefix: "system-design/",
339340
collapsible: true,
340341
children: [
341-
"system-design-questions",
342-
"design-pattern",
343342
{
344343
text: "基础",
345344
prefix: "basis/",
346345
icon: "basic",
347-
collapsible: true,
348346
children: [
349347
"RESTfulAPI",
350348
"naming",
@@ -359,7 +357,6 @@ export const sidebarConfig = sidebar({
359357
text: "安全",
360358
prefix: "security/",
361359
icon: "security-fill",
362-
collapsible: true,
363360
children: [
364361
"basis-of-authority-certification",
365362
"jwt-intro",
@@ -370,6 +367,8 @@ export const sidebarConfig = sidebar({
370367
"data-desensitization",
371368
],
372369
},
370+
"system-design-questions",
371+
"design-pattern",
373372
"schedule-task",
374373
"web-real-time-message-push",
375374
],

docs/.vuepress/themeConfig.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const themeConfig = hopeTheme({
1111
},
1212
repo: "https://github.com/Snailclimb/JavaGuide",
1313
docsDir: "docs",
14-
iconAssets: "//at.alicdn.com/t/c/font_2922463_bcn6tjuoz8b.css",
14+
iconAssets: "//at.alicdn.com/t/c/font_2922463_fi3mvhn3c1.css",
1515
navbar: navbarConfig,
1616
sidebar: sidebarConfig,
1717
pageInfo: [

docs/distributed-system/api-gateway.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: API 网关详解
33
category: 分布式
4+
icon: "gateway"
45
---
56

67
## 什么是网关?有什么用?

docs/distributed-system/distributed-configuration-center.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 分布式配置中心详解(付费)
33
category: 分布式
4+
icon: "configuration"
45
---
56

67
**分布式配置中心** 相关的面试题为我的[知识星球](https://www.yuque.com/docs/share/8a30ffb5-83f3-40f9-baf9-38de68b906dc)(点击链接即可查看详细介绍以及加入方法)专属内容,已经整理到了[《Java 面试指北》](https://www.yuque.com/docs/share/f37fc804-bfe6-4b0d-b373-9c462188fec7)(点击链接即可查看详细介绍以及获取方法)中。

docs/distributed-system/distributed-id.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 分布式 ID 详解
33
category: 分布式
4+
icon: "id"
45
---
56

67
## 分布式 ID 介绍

docs/distributed-system/distributed-lock.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 分布式锁详解
33
category: 分布式
4+
icon: "lock"
45
---
56

67
网上有很多分布式锁相关的文章,写了一个相对简洁易懂的版本,针对面试和工作应该够用了。

docs/distributed-system/distributed-transaction.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 分布式事务详解(付费)
33
category: 分布式
4+
icon: "transanction"
45
---
56

67
**分布式事务** 相关的面试题为我的[知识星球](https://www.yuque.com/docs/share/8a30ffb5-83f3-40f9-baf9-38de68b906dc)(点击链接即可查看详细介绍以及加入方法)专属内容,已经整理到了[《Java 面试指北》](https://www.yuque.com/docs/share/f37fc804-bfe6-4b0d-b373-9c462188fec7)(点击链接即可查看详细介绍以及获取方法)中。

docs/high-performance/cdn.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: CDN(内容分发网络)详解
33
category: 高性能
4+
icon: "cdn"
45
head:
56
- - meta
67
- name: keywords

docs/high-performance/load-balancing.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 负载均衡详解(付费)
33
category: 高性能
4+
icon: "fuzaijunheng"
45
head:
56
- - meta
67
- name: keywords

docs/high-performance/read-and-write-separation-and-library-subtable.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 读写分离和分库分表详解
33
category: 高性能
4+
icon: "mysql"
45
head:
56
- - meta
67
- name: keywords

docs/high-performance/sql-optimization.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 常见 SQL 优化手段总结(付费)
33
category: 高性能
4+
icon: "mysql"
45
head:
56
- - meta
67
- name: keywords

docs/high-quality-technical-articles/interview/my-personal-experience-in-2021.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tag:
4646

4747
**2021-4 中旬**
4848

49-
美团一、二面,腾讯第二次一面和二面,百度三轮面试,通过了。
49+
美团一、二面,腾讯第二次一面和二面,百度三轮面试,通过了。
5050

5151
**2021-4 底**
5252

docs/java/basis/syntactic-sugar.md

-2
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,6 @@ Iterator 是工作在一个独立的线程中,并且拥有一个 mutex 锁。
804804

805805
所以 `Iterator` 在工作的时候是不允许被迭代的对象被改变的。但你可以使用 `Iterator` 本身的方法`remove()`来删除对象,`Iterator.remove()` 方法会在删除当前迭代对象的同时维护索引的一致性。
806806

807-
![](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/java/basis/syntactic-sugar/image-20220818175912313.png)
808-
809807
## 总结
810808

811809
前面介绍了 12 种 Java 中常用的语法糖。所谓语法糖就是提供给开发人员便于开发的一种语法而已。但是这种语法只有开发人员认识。要想被执行,需要进行解糖,即转成 JVM 认识的语法。当我们把语法糖解糖之后,你就会发现其实我们日常使用的这些方便的语法,其实都是一些其他更简单的语法构成的。

docs/system-design/basis/refactoring.md

+9-5
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ category: 代码质量
2222

2323
**常见的设计模式如下**
2424

25-
![常见的设计模式](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/image-20220311160610999.png)
26-
27-
25+
![常见的设计模式](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/system-design/basis/common-design-patterns.png)
2826

2927
更全面的设计模式总结,可以看 **[java-design-patterns](https://github.com/iluwatar/java-design-patterns)** 这个开源项目。
3028

3129
**常见的软件设计原则如下**
3230

33-
![常见的软件设计原](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/programming-principles%20.png)
31+
![常见的软件设计原则](https://guide-blog-images.oss-cn-shenzhen.aliyuncs.com/github/javaguide/system-design/basis/programming-principles%20.png)
3432

3533
更全面的设计原则总结,可以看 **[java-design-patterns](https://github.com/iluwatar/java-design-patterns)****[hacker-laws-zh](https://github.com/nusr/hacker-laws-zh)** 这两个开源项目。
3634

@@ -135,4 +133,10 @@ Code Review 可以非常有效提高代码的整体质量,它会帮助我们
135133
除了可以在重构项目代码的过程中练习精进重构之外,你还可以有下面这些手段:
136134

137135
- [重构实战练习](https://linesh.gitbook.io/refactoring/) :通过几个小案例一步一步带你学习重构!
138-
- [设计模式+重构学习网站](https://refactoringguru.cn/) :免费在线学习代码重构、 设计模式、 SOLID 原则 (单一职责、 开闭原则、 里氏替换、 接口隔离以及依赖反转) 。
136+
- [设计模式+重构学习网站](https://refactoringguru.cn/) :免费在线学习代码重构、 设计模式、 SOLID 原则 (单一职责、 开闭原则、 里氏替换、 接口隔离以及依赖反转) 。
137+
- [IDEA 官方文档的代码重构教程](https://www.jetbrains.com/help/idea/refactoring-source-code.html#popular-refactorings) : 教你如何使用 IDEA 进行重构。
138+
139+
## 参考
140+
141+
- [再读《重构》- ThoughtWorks 洞见 - 2020](https://insights.thoughtworks.cn/reread-refactoring/) :详细介绍了重构的要点比如小步重构、捡垃圾式的重构,主要是重构概念相关的介绍。
142+
- [常见代码重构技巧 - VectorJin - 2021](https://juejin.cn/post/6954378167947624484) :从软件设计原则、设计模式、代码分层、命名规范等角度介绍了如何进行重构,比较偏实战。

docs/system-design/design-pattern.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 设计模式常见面试题总结
33
category: 系统设计
4+
icon: "Tools"
45
head:
56
- - meta
67
- name: keywords

docs/system-design/framework/mybatis/mybatis-interview.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: MyBatis常见面试题总结
33
category: 框架
4+
icon: "database"
45
tag:
56
- MyBatis
67
head:

docs/system-design/framework/netty.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Netty常见面试题总结(付费)
33
category: 框架
4+
icon: "network"
45
---
56

67
**Netty** 相关的面试题为我的[知识星球](https://www.yuque.com/docs/share/8a30ffb5-83f3-40f9-baf9-38de68b906dc)(点击链接即可查看详细介绍以及加入方法)专属内容,已经整理到了[《Java 面试指北》](https://www.yuque.com/docs/share/f37fc804-bfe6-4b0d-b373-9c462188fec7)(点击链接即可查看详细介绍以及获取方法)中。

docs/system-design/schedule-task.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Java 定时任务详解
33
category: 系统设计
4+
icon: "time"
45
head:
56
- - meta
67
- name: keywords

docs/system-design/system-design-questions.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 系统设计常见面试题总结(付费)
33
category: Java面试指北
4+
icon: "design"
45
---
56

67
**系统设计** 相关的面试题为我的[知识星球](https://www.yuque.com/docs/share/8a30ffb5-83f3-40f9-baf9-38de68b906dc)(点击链接即可查看详细介绍以及加入方法)专属内容,已经整理到了[《Java 面试指北》](https://www.yuque.com/docs/share/f37fc804-bfe6-4b0d-b373-9c462188fec7)(点击链接即可查看详细介绍以及获取方法)中。

docs/system-design/web-real-time-message-push.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Web 实时消息推送详解
33
category: 系统设计
4+
icon: "messages"
45
head:
56
- - meta
67
- name: keywords

0 commit comments

Comments
 (0)