forked from ParadigmEducation/snowflake-notes
docs: 新增标签规范 tags.config.yaml,并在 README 提示使用
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
- 页面与布局:`src/pages/`、`src/layouts/`
|
||||
- 通用组件:`src/components/`(如 `Img.astro` 支持外部图床)
|
||||
- 内容扩展抽象:`src/lib/content/`(为未来 Typst 等格式预留)
|
||||
- 标签规范:根目录 `tags.config.yaml`(建议统一文章标签使用)
|
||||
|
||||
## 配置与类型
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Git 基础
|
||||
description: 介绍 Git 的基本概念和常用命令。
|
||||
pubDate: 2025-11-27
|
||||
tags:
|
||||
- Git
|
||||
- 版本控制
|
||||
- 协作基础
|
||||
---
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: 你好,Astro!
|
||||
description: 内部学习博客的第一篇文章。
|
||||
pubDate: 2024-11-27
|
||||
pubDate: 2025-11-27
|
||||
tags: ["简介", "Astro"]
|
||||
---
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user