Skip to content

Front Matter 规范

所有文档必须包含统一的 Front Matter 元信息,确保内容可被检索、归类和管理。

字段定义

字段必填类型说明示例
titlestring文章标题Flink 架构原理
articleIdstring全局唯一编号20240701-01
statusenum文档状态draft / review / published / deprecated
authorstring作者标识ljdou
categorystring技术分类bigdata / cloud-native / backend / frontend / ai / architecture / notes
description推荐string文章摘要,用于 SEO 和搜索预览深入解析 Flink Checkpoint 机制
series推荐string所属专题,关联同系列文章Flink 深入系列
tags推荐string[]标签列表[Flink, Checkpoint, 流计算]
createddate创建日期2024-07-01
updateddate最后更新日期2024-07-15
outline推荐number[]页面大纲显示层级[2, 3]

category 枚举值

对应目录说明
bigdatadocs/bigdata/大数据
cloud-nativedocs/cloud-native/云原生
backenddocs/backend/后端开发
frontenddocs/frontend/前端开发
aidocs/ai/人工智能
architecturedocs/architecture/架构设计
notesdocs/notes/学习笔记

status 枚举值

说明
draft草稿,内容未完成
review审核中
published已发布,内容定稿
deprecated已废弃

series 专题

series 字段用于将多篇文章串联为一个系列。同一系列内的文章会在侧边栏自动关联。

示例 series 值包含文章
Flink 深入系列架构原理、Checkpoint、性能调优
Kubernetes 实战系列架构、部署、排障
Go 后端实践Gin 框架、项目结构

完整示例

yaml
---
title: Flink Checkpoint 机制详解
articleId: 20240701-01
status: published
author: ljdou
category: bigdata
series: Flink 深入系列
description: 深入解析 Flink Checkpoint 的原理、Barrier 对齐机制与状态后端选型
tags: [Flink, Checkpoint, 流计算]
created: 2024-07-01
updated: 2024-07-15
outline: [2, 3]
---

基于 VitePress 构建