内容维护

新增、排序、分组文档时需要改哪些地方。

新增文档时,在 docSections 对应分组里追加 DocItem。slug 支持多段路径,例如 cloud-native/kubernetes/intro,对应 /docs/cloud-native/kubernetes/intro。

ts
{
  slug: "api-reference",
  title: "API Reference",
  description: "接口和类型说明。",
  icon: File01Icon,
  body: []
}