diff --git a/docs/cheatSheet/01-jdk8-GC-cheatsheet.md b/docs/cheatSheet/cheatsheet/01-jdk8-GC-cheatsheet.md
similarity index 100%
rename from docs/cheatSheet/01-jdk8-GC-cheatsheet.md
rename to docs/cheatSheet/cheatsheet/01-jdk8-GC-cheatsheet.md
diff --git a/docs/cheatSheet/02-JDK9-GC-cheatsheet.md b/docs/cheatSheet/cheatsheet/02-JDK9-GC-cheatsheet.md
similarity index 100%
rename from docs/cheatSheet/02-JDK9-GC-cheatsheet.md
rename to docs/cheatSheet/cheatsheet/02-JDK9-GC-cheatsheet.md
diff --git a/docs/cheatSheet/03-JDK10-GC-cheatsheet.md b/docs/cheatSheet/cheatsheet/03-JDK10-GC-cheatsheet.md
similarity index 100%
rename from docs/cheatSheet/03-JDK10-GC-cheatsheet.md
rename to docs/cheatSheet/cheatsheet/03-JDK10-GC-cheatsheet.md
diff --git a/docs/cheatSheet/04-JDK11-GC-cheatsheet.md b/docs/cheatSheet/cheatsheet/04-JDK11-GC-cheatsheet.md
similarity index 100%
rename from docs/cheatSheet/04-JDK11-GC-cheatsheet.md
rename to docs/cheatSheet/cheatsheet/04-JDK11-GC-cheatsheet.md
diff --git a/docs/cheatSheet/05-JDK12-13-14-GC-cheatsheet.md b/docs/cheatSheet/cheatsheet/05-JDK12-13-14-GC-cheatsheet.md
similarity index 100%
rename from docs/cheatSheet/05-JDK12-13-14-GC-cheatsheet.md
rename to docs/cheatSheet/cheatsheet/05-JDK12-13-14-GC-cheatsheet.md
diff --git a/docs/cheatSheet/cheatsheet/index.mdx b/docs/cheatSheet/cheatsheet/index.mdx
new file mode 100644
index 0000000..2b4f04d
--- /dev/null
+++ b/docs/cheatSheet/cheatsheet/index.mdx
@@ -0,0 +1,5 @@
+# 各种秘籍
+
+import DocCardList from '@theme/DocCardList';
+
+
diff --git a/docs/cheatSheet/mindmap/architect.md b/docs/cheatSheet/mindmap/architect.md
new file mode 100644
index 0000000..13f9120
--- /dev/null
+++ b/docs/cheatSheet/mindmap/architect.md
@@ -0,0 +1,3 @@
+# 架构师必须掌握的技术
+
+![](https://img-blog.csdnimg.cn/20200404104031260.png)
diff --git a/docs/cheatSheet/mindmap/bigdata.md b/docs/cheatSheet/mindmap/bigdata.md
new file mode 100644
index 0000000..66f3875
--- /dev/null
+++ b/docs/cheatSheet/mindmap/bigdata.md
@@ -0,0 +1,3 @@
+# 大数据我们该学点什么
+
+![](https://img-blog.csdnimg.cn/20200404105052489.png)
diff --git a/docs/cheatSheet/mindmap/blockchain.md b/docs/cheatSheet/mindmap/blockchain.md
new file mode 100644
index 0000000..d528278
--- /dev/null
+++ b/docs/cheatSheet/mindmap/blockchain.md
@@ -0,0 +1,3 @@
+# 区块链技术大合集
+
+![](https://img-blog.csdnimg.cn/2020040410571812.png)
diff --git a/docs/cheatSheet/mindmap/golang.md b/docs/cheatSheet/mindmap/golang.md
new file mode 100644
index 0000000..c4f02ea
--- /dev/null
+++ b/docs/cheatSheet/mindmap/golang.md
@@ -0,0 +1,3 @@
+# golang基础
+
+![](https://img-blog.csdnimg.cn/2020040410590241.png)
diff --git a/docs/cheatSheet/mindmap/index.mdx b/docs/cheatSheet/mindmap/index.mdx
new file mode 100644
index 0000000..cfb0c33
--- /dev/null
+++ b/docs/cheatSheet/mindmap/index.mdx
@@ -0,0 +1,5 @@
+# 思维导图
+
+import DocCardList from '@theme/DocCardList';
+
+
diff --git a/docs/cheatSheet/mindmap/java.md b/docs/cheatSheet/mindmap/java.md
new file mode 100644
index 0000000..aeb3763
--- /dev/null
+++ b/docs/cheatSheet/mindmap/java.md
@@ -0,0 +1,3 @@
+# java必须掌握的技术
+
+![](https://img-blog.csdnimg.cn/20200404104308533.png)
diff --git a/docs/cheatSheet/mindmap/js.md b/docs/cheatSheet/mindmap/js.md
new file mode 100644
index 0000000..3395ae1
--- /dev/null
+++ b/docs/cheatSheet/mindmap/js.md
@@ -0,0 +1,3 @@
+# 你所不知道的前端技术
+
+![](https://img-blog.csdnimg.cn/2020040411005491.png)
diff --git a/docs/cheatSheet/mindmap/patten.md b/docs/cheatSheet/mindmap/patten.md
new file mode 100644
index 0000000..6a2fc58
--- /dev/null
+++ b/docs/cheatSheet/mindmap/patten.md
@@ -0,0 +1,3 @@
+# 必须掌握的设计模式
+
+![](https://img-blog.csdnimg.cn/20200404104728815.png)
diff --git a/docs/tips/01-db-primary-foregin-keys.md b/docs/cheatSheet/tips/01-db-primary-foregin-keys.md
similarity index 96%
rename from docs/tips/01-db-primary-foregin-keys.md
rename to docs/cheatSheet/tips/01-db-primary-foregin-keys.md
index 7a61acf..27dbb02 100644
--- a/docs/tips/01-db-primary-foregin-keys.md
+++ b/docs/cheatSheet/tips/01-db-primary-foregin-keys.md
@@ -1,6 +1,10 @@
-小知识系列:数据库的主键和外键
+---
+slug: /01-db-primary-foregin-keys
+---
+
+# 1. 小知识系列:数据库的主键和外键
+
-[toc]
# 简介
diff --git a/docs/tips/01-googleCloud-azure-aws.md b/docs/cheatSheet/tips/01-googleCloud-azure-aws.md
similarity index 98%
rename from docs/tips/01-googleCloud-azure-aws.md
rename to docs/cheatSheet/tips/01-googleCloud-azure-aws.md
index c2cdd8b..44beca8 100644
--- a/docs/tips/01-googleCloud-azure-aws.md
+++ b/docs/cheatSheet/tips/01-googleCloud-azure-aws.md
@@ -1,4 +1,8 @@
-12个月大厂主机免费领AWS Azure Google-Cloud还不快到碗里来
+---
+slug: /01-googleCloud-azure-aws
+---
+
+# 2. 12个月大厂主机免费领AWS Azure Google-Cloud还不快到碗里来
# 简介
diff --git a/docs/tips/02-db-ResultSetMetaData.md b/docs/cheatSheet/tips/02-db-ResultSetMetaData.md
similarity index 96%
rename from docs/tips/02-db-ResultSetMetaData.md
rename to docs/cheatSheet/tips/02-db-ResultSetMetaData.md
index f24772f..257a37b 100644
--- a/docs/tips/02-db-ResultSetMetaData.md
+++ b/docs/cheatSheet/tips/02-db-ResultSetMetaData.md
@@ -1,6 +1,10 @@
-小知识系列:查询数据库数据的元信息
+---
+slug: /02-db-ResultSetMetaData
+---
+
+# 3. 小知识系列:查询数据库数据的元信息
+
-[toc]
# 简介
@@ -79,4 +83,4 @@ ResultSetMetaData提供了很多非常有用的元数据检测方法:
# 总结
-以上就是ResultSet和ResultSetMetaData的介绍,大家学会了吗?
\ No newline at end of file
+以上就是ResultSet和ResultSetMetaData的介绍,大家学会了吗?
diff --git a/docs/tips/02-new-gitbook-to-pdf.md b/docs/cheatSheet/tips/02-new-gitbook-to-pdf.md
similarity index 97%
rename from docs/tips/02-new-gitbook-to-pdf.md
rename to docs/cheatSheet/tips/02-new-gitbook-to-pdf.md
index 51294f5..a32fa31 100644
--- a/docs/tips/02-new-gitbook-to-pdf.md
+++ b/docs/cheatSheet/tips/02-new-gitbook-to-pdf.md
@@ -1,3 +1,9 @@
+---
+slug: /02-new-gitbook-to-pdf
+---
+
+# 4. 把gitbook转换成pdf
+
最近想把自己写的一个gitbook转成pdf分享出去,突然发现最新的gitbook版本已经不支持导出PDF了。于是在网上找了好久终于被我发现了三个将gitbook转换成pdf的方式,现分享给大家。我使用的是mac系统,如果是其他系统大家可以查找相应的方案。
## gitbook自带的npm模块gitbook
diff --git a/docs/tips/03-semantic-version.md b/docs/cheatSheet/tips/03-semantic-version.md
similarity index 97%
rename from docs/tips/03-semantic-version.md
rename to docs/cheatSheet/tips/03-semantic-version.md
index 83fbc00..9b49f78 100644
--- a/docs/tips/03-semantic-version.md
+++ b/docs/cheatSheet/tips/03-semantic-version.md
@@ -1,7 +1,8 @@
-小知识系列:让版本出来说话
-
-[toc]
+---
+slug: /03-semantic-version
+---
+# 5. 小知识系列:让版本出来说话
# 简介
不知道大家都是怎么定义软件的版本号的?是老老实实的从1.0版本开始,还是像埃里森那样直接从2.0开始,还是从beta版本0.x开始呢?
diff --git a/docs/tips/03-swagger-to-html-pdf.md b/docs/cheatSheet/tips/03-swagger-to-html-pdf.md
similarity index 99%
rename from docs/tips/03-swagger-to-html-pdf.md
rename to docs/cheatSheet/tips/03-swagger-to-html-pdf.md
index 2f44aa0..68d044c 100644
--- a/docs/tips/03-swagger-to-html-pdf.md
+++ b/docs/cheatSheet/tips/03-swagger-to-html-pdf.md
@@ -1,4 +1,8 @@
-怎么将swagger API导出为HTML或者PDF
+---
+slug: /03-swagger-to-html-pdf
+---
+
+# 6. 怎么将swagger API导出为HTML或者PDF
## 将swagger API导出为HTML或者PDF
diff --git a/docs/tips/04-unicode-sorting.md b/docs/cheatSheet/tips/04-unicode-sorting.md
similarity index 97%
rename from docs/tips/04-unicode-sorting.md
rename to docs/cheatSheet/tips/04-unicode-sorting.md
index 5461819..dd82b27 100644
--- a/docs/tips/04-unicode-sorting.md
+++ b/docs/cheatSheet/tips/04-unicode-sorting.md
@@ -1,6 +1,8 @@
-开发小技巧之:unicode的排序和正则匹配
+---
+slug: /04-unicode-sorting
+---
-[toc]
+# 7. 开发小技巧之:unicode的排序和正则匹配
# 简介
diff --git a/docs/tips/05-git-personal-access-token.md b/docs/cheatSheet/tips/05-git-personal-access-token.md
similarity index 98%
rename from docs/tips/05-git-personal-access-token.md
rename to docs/cheatSheet/tips/05-git-personal-access-token.md
index 54ef0b4..178f34e 100644
--- a/docs/tips/05-git-personal-access-token.md
+++ b/docs/cheatSheet/tips/05-git-personal-access-token.md
@@ -1,6 +1,8 @@
-使用账号密码来操作github? NO!
+---
+slug: /05-git-personal-access-token
+---
-[toc]
+# 8. 使用账号密码来操作github? NO!
# 简介
diff --git a/docs/tips/06-jetbrains-fleet.md b/docs/cheatSheet/tips/06-jetbrains-fleet.md
similarity index 98%
rename from docs/tips/06-jetbrains-fleet.md
rename to docs/cheatSheet/tips/06-jetbrains-fleet.md
index 6507aa0..dae2837 100644
--- a/docs/tips/06-jetbrains-fleet.md
+++ b/docs/cheatSheet/tips/06-jetbrains-fleet.md
@@ -1,6 +1,8 @@
-JetBrains又出神器啦!Fleet,体验飞一般的感觉
+---
+slug: /06-jetbrains-fleet
+---
-[toc]
+# 9. JetBrains又出神器啦!Fleet,体验飞一般的感觉
# 简介
diff --git a/docs/tips/07-git-largefile.md b/docs/cheatSheet/tips/07-git-largefile.md
similarity index 97%
rename from docs/tips/07-git-largefile.md
rename to docs/cheatSheet/tips/07-git-largefile.md
index 2ebdd08..8bb9a80 100644
--- a/docs/tips/07-git-largefile.md
+++ b/docs/cheatSheet/tips/07-git-largefile.md
@@ -1,6 +1,8 @@
-Github又悄悄升级了,这次的变化是大文件的存储方式
+---
+slug: /07-git-largefile
+---
-[toc]
+# 10. Github又悄悄升级了,这次的变化是大文件的存储方式
# 简介
diff --git a/docs/tips/beidou-how-to-work.md b/docs/cheatSheet/tips/08-beidou-how-to-work.md
similarity index 99%
rename from docs/tips/beidou-how-to-work.md
rename to docs/cheatSheet/tips/08-beidou-how-to-work.md
index 7d3c89a..5489b51 100644
--- a/docs/tips/beidou-how-to-work.md
+++ b/docs/cheatSheet/tips/08-beidou-how-to-work.md
@@ -1,3 +1,8 @@
+---
+slug: /beidou-how-to-work
+---
+
+# 11. 北斗系统和他的工作原理
# 简介
diff --git a/docs/cheatSheet/tips/add-slug.sh b/docs/cheatSheet/tips/add-slug.sh
new file mode 100644
index 0000000..4ea42a0
--- /dev/null
+++ b/docs/cheatSheet/tips/add-slug.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+# 使用find命令递归查找所有.md文件
+find . -type f -name "*.md" | while read -r file; do
+ # 获取文件所在的目录和带后缀的文件名
+ dir=$(dirname -- "$file")
+ filename_with_ext=$(basename -- "$file")
+
+ # 去除文件名开头的数字和短横线,并获取不带后缀的文件名
+# filename=$(echo "$filename_with_ext" | sed -E 's/^[0-9-]+//')
+ filename=$(echo "$filename_with_ext")
+ filename="${filename%.md}" # 去除.md后缀
+
+ # 构造要插入的三行代码
+ header="---
+slug: /${filename}
+---
+"
+echo "$header";
+
+ # 将这三行代码插入到文件的开头
+ {
+ echo "$header";
+ cat "$file";
+ } > "${file}.tmp" && mv "${file}.tmp" "$file"
+
+ echo "已更新文件: $file"
+done
+
+echo "所有.md文件已更新完成。"
diff --git a/docs/cheatSheet/tips/bat-insert.sh b/docs/cheatSheet/tips/bat-insert.sh
new file mode 100644
index 0000000..5b9dac5
--- /dev/null
+++ b/docs/cheatSheet/tips/bat-insert.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# 初始化计数器
+count=0
+
+# 列出当前目录下的所有 .md 文件
+for file in *.md; do
+ # 如果文件存在
+ if [ -f "$file" ]; then
+ # 计数器加1
+ count=$((count+1))
+ # 构造要添加的文本
+ text="# $count. "
+ # 使用 sed 命令在文件的第一行前添加文本
+ gsed -i "1s|^|$text|" "$file"
+ fi
+done
+
+echo "Finished adding numbering to .md files."
diff --git a/docs/cheatSheet/tips/index.mdx b/docs/cheatSheet/tips/index.mdx
new file mode 100644
index 0000000..e6855d3
--- /dev/null
+++ b/docs/cheatSheet/tips/index.mdx
@@ -0,0 +1,5 @@
+# 小技巧
+
+import DocCardList from '@theme/DocCardList';
+
+
diff --git a/docs/mindmap/architect.md b/docs/mindmap/architect.md
deleted file mode 100644
index eb1c8e4..0000000
--- a/docs/mindmap/architect.md
+++ /dev/null
@@ -1,3 +0,0 @@
-架构师必须掌握的技术
-
-![](https://img-blog.csdnimg.cn/20200404104031260.png)
\ No newline at end of file
diff --git a/docs/mindmap/bigdata.md b/docs/mindmap/bigdata.md
deleted file mode 100644
index 47cd81f..0000000
--- a/docs/mindmap/bigdata.md
+++ /dev/null
@@ -1,3 +0,0 @@
-大数据我们该学点什么
-
-![](https://img-blog.csdnimg.cn/20200404105052489.png)
\ No newline at end of file
diff --git a/docs/mindmap/blockchain.md b/docs/mindmap/blockchain.md
deleted file mode 100644
index 1707bb0..0000000
--- a/docs/mindmap/blockchain.md
+++ /dev/null
@@ -1,3 +0,0 @@
-区块链技术大合集
-
-![](https://img-blog.csdnimg.cn/2020040410571812.png)
\ No newline at end of file
diff --git a/docs/mindmap/golang.md b/docs/mindmap/golang.md
deleted file mode 100644
index 9401efb..0000000
--- a/docs/mindmap/golang.md
+++ /dev/null
@@ -1,3 +0,0 @@
-golang基础
-
-![](https://img-blog.csdnimg.cn/2020040410590241.png)
\ No newline at end of file
diff --git a/docs/mindmap/java.md b/docs/mindmap/java.md
deleted file mode 100644
index ef1d5f7..0000000
--- a/docs/mindmap/java.md
+++ /dev/null
@@ -1,3 +0,0 @@
-java必须掌握的技术
-
-![](https://img-blog.csdnimg.cn/20200404104308533.png)
\ No newline at end of file
diff --git a/docs/mindmap/js.md b/docs/mindmap/js.md
deleted file mode 100644
index e5cd952..0000000
--- a/docs/mindmap/js.md
+++ /dev/null
@@ -1,3 +0,0 @@
-你所不知道的前端技术
-
-![](https://img-blog.csdnimg.cn/2020040411005491.png)
\ No newline at end of file
diff --git a/docs/mindmap/patten.md b/docs/mindmap/patten.md
deleted file mode 100644
index e52f2be..0000000
--- a/docs/mindmap/patten.md
+++ /dev/null
@@ -1,3 +0,0 @@
-必须掌握的设计模式
-
-![](https://img-blog.csdnimg.cn/20200404104728815.png)
\ No newline at end of file