From 5b20fe7ee261a21bcd5ef4e92d2182b4e290098b Mon Sep 17 00:00:00 2001 From: sjfhsjfh Date: Thu, 27 Nov 2025 17:36:33 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=96=B0=E5=A2=9E=E6=A0=87=E7=AD=BE?= =?UTF-8?q?=E8=A7=84=E8=8C=83=20tags.config.yaml=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E5=9C=A8=20README=20=E6=8F=90=E7=A4=BA=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/content/posts/collaboration/git-basics.md | 9 +++++ src/content/posts/hello-world.mdx | 2 +- tags.config.yaml | 34 +++++++++++++++++++ 4 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 src/content/posts/collaboration/git-basics.md create mode 100644 tags.config.yaml diff --git a/README.md b/README.md index 5c2e258..4fe7156 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ - 页面与布局:`src/pages/`、`src/layouts/` - 通用组件:`src/components/`(如 `Img.astro` 支持外部图床) - 内容扩展抽象:`src/lib/content/`(为未来 Typst 等格式预留) + - 标签规范:根目录 `tags.config.yaml`(建议统一文章标签使用) ## 配置与类型 diff --git a/src/content/posts/collaboration/git-basics.md b/src/content/posts/collaboration/git-basics.md new file mode 100644 index 0000000..be07194 --- /dev/null +++ b/src/content/posts/collaboration/git-basics.md @@ -0,0 +1,9 @@ +--- +title: Git 基础 +description: 介绍 Git 的基本概念和常用命令。 +pubDate: 2025-11-27 +tags: + - Git + - 版本控制 + - 协作基础 +--- \ No newline at end of file diff --git a/src/content/posts/hello-world.mdx b/src/content/posts/hello-world.mdx index 0ff1ed6..94531a3 100644 --- a/src/content/posts/hello-world.mdx +++ b/src/content/posts/hello-world.mdx @@ -1,7 +1,7 @@ --- title: 你好,Astro! description: 内部学习博客的第一篇文章。 -pubDate: 2024-11-27 +pubDate: 2025-11-27 tags: ["简介", "Astro"] --- diff --git a/tags.config.yaml b/tags.config.yaml new file mode 100644 index 0000000..d10fac3 --- /dev/null +++ b/tags.config.yaml @@ -0,0 +1,34 @@ +# tags.config.yaml(建议维护一份标签规范) + +# 1. 技术标签(小写、具体) +tech_tags: + - git, docker, kubernetes + - javascript, python, rust + - react, vue, astro + +# 2. 主题标签(语义化) +topic_tags: + - version-control + - concurrency + - security + - performance + +# 3. 用途标签(功能性) +purpose_tags: + - onboarding # 新人必读 + - reference # 速查手册 + - deep-dive # 深度文章 + - troubleshooting # 问题解决 + +# 4. 优先级标签 +priority_tags: + - p0-must-know # 核心必修 + - p1-should-know # 建议掌握 + - p2-nice-to-know # 可选了解 + +# 5. 业务相关 +business_tags: + - education-tech + - compliance + - mvp +