Loading...
Loading...
Compare original and translation side by side
docs/docfrontdocs/docfrontRun commands via the project's package manager (e.g.,npm run docfront --).pnpm docfront
docfront # list root docs
docfront --dir topic-a --dir topic-b/sub-topic-c # list subdirectories
docfront --recursive # list everything
docfront --read doc-1.md topic-a/doc-2.md # read documents (frontmatter stripped)
docfront --check # validate all files通过项目的包管理器运行命令(例如、npm run docfront --)。pnpm docfront
docfront # 列出根目录文档
docfront --dir topic-a --dir topic-b/sub-topic-c # 列出子目录内容
docfront --recursive # 列出所有内容
docfront --read doc-1.md topic-a/doc-2.md # 读取文档(已去除frontmatter)
docfront --check # 校验所有文件docfront --recursivedocfront --recursivesummarysummaryRELEASING.mddocfront --check.mdRELEASING.mddocfront --check.md.md| Field | Required | Description |
|---|---|---|
| Yes | A human-readable display name shown in listings. |
| Recommended | One concise sentence. If the title already makes the purpose obvious, omit the summary to avoid redundancy. |
| Recommended | A YAML list of short, action-oriented hints. Each hint completes: "Read this document when you are…" |
.md| 字段 | 是否必填 | 描述 |
|---|---|---|
| 是 | 列表中展示的人类可读显示名称。 |
| 推荐填写 | 一句简洁的说明。如果标题已经能明确体现文档用途,可省略该字段避免冗余。 |
| 推荐填写 | YAML格式的列表,包含简短的面向操作的提示,每条提示可补全为:“当你……时阅读本文档”。 |
------
title: Your Title Here
summary: A one-sentence description of what this document covers.
read_when:
- first situation when this document is useful
- second situation
---------
title: 你的标题
summary: 一句说明本文档涵盖内容的描述。
read_when:
- 本文档适用的第一个场景
- 第二个场景
---undefinedundefineddocs/docs/docs/docs/