فهرست منبع

fix: readme.md

runningwater 7 ماه پیش
والد
کامیت
08a407c327
2فایلهای تغییر یافته به همراه13 افزوده شده و 13 حذف شده
  1. 9 9
      README.md
  2. 4 4
      cliff.toml

+ 9 - 9
README.md

@@ -10,35 +10,34 @@ Web 服务功能会封装到子命令 serve 中,命令行功能会封装到子
 4. migrate 数据库迁移
 5. cache 缓存处理
 
-# 变更日志
+## 变更日志
 
 本文件记录了本项目的所有重要变更。
 
-## [未发布]
+### [未发布]
 
-### ⚙️ 辅助工具的变动
+#### ⚙️ 辅助工具的变动
 
 - 参数格式化(str 包)
 - Changelog file
 - Git-cliff generator changelog files
 - Console 包
 
-### 🐛 Bug 修复
+#### 🐛 Bug 修复
 
 - 删除测试的 testCommand
 - Panic Recovery
 - Import package update
 
-### 💼 其他
+#### 💼 其他
 
-- 修改生成模板文件后缀名
 - 更新 readme.md  文档
 
-### 📚 文档更新
+#### 📚 文档更新
 
 - Add README  文档
 
-### 🚀 新功能
+#### 🚀 新功能
 
 - 添加 make cmd  命令 \r\n例如: gohub make cmd testCommand
 - Play 命令,做调试使用
@@ -55,8 +54,9 @@ Web 服务功能会封装到子命令 serve 中,命令行功能会封装到子
 - Email 是否已注册接口
 - 手机是否注册接口
 
-### 🚜 代码重构
+#### 🚜 代码重构
 
+- 修改生成模板文件后缀名
 - Gofmt -l -w -s package
 
 <!-- 由 git-cliff 生成 -->

+ 4 - 4
cliff.toml

@@ -20,7 +20,7 @@ Web 服务功能会封装到子命令 serve 中,命令行功能会封装到子
   4. migrate 数据库迁移
   5. cache 缓存处理
 
-# 变更日志\n
+## 变更日志\n
 本文件记录了本项目的所有重要变更。\n
 """
 
@@ -28,12 +28,12 @@ Web 服务功能会封装到子命令 serve 中,命令行功能会封装到子
 # https://keats.github.io/tera/docs/#introduction
 body = """
 {% if version %}\
-    ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
+    ### [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
 {% else %}\
-    ## [未发布]
+    ### [未发布]
 {% endif %}\
 {% for group, commits in commits | group_by(attribute="group") %}
-    ### {{ group | striptags | trim | upper_first }}
+    #### {{ group | striptags | trim | upper_first }}
     {% for commit in commits %}
         - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\
             {% if commit.breaking %}[**破坏性变更**] {% endif %}\