mirror of
https://github.com/mintlify/docs.git
synced 2026-09-14 13:35:46 +08:00
fbdd913d8e
* Add translation tracker for stale translations audit Generated-By: mintlify-agent * translations: add missing pages and update content for es, fr, zh Phase 1: Add translations for 4 new API analytics pages (feedback-by-page, searches, views, visitors) in es, fr, and zh. Phase 2: Update 3 pages with content changes: - agent/workflows: add "Disable a workflow" subsection - ai/skillmd: add 24-hour generation note - editor/publish: add AI PR title tip, reformat publishing workflows, promote "Publish your changes" heading from h3 to h2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * update descriptions * translations * translations * translations * Delete TRANSLATION_TRACKER.md * translations * a * a * translations * translations * translations * translations * translations * translations * translations * translations * Update use-cases.mdx * translations * translations * Update ai-native.mdx * Update accordions.mdx * Update accordions.mdx * Update accordions.mdx * translations * translations * Update fonts.mdx * translations * translations: update SEO descriptions for es, fr, zh (150 pages) Update the description: frontmatter field across 150 pages × 3 languages to match the current English descriptions updated on 2026-03-31. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
80 lines
2.1 KiB
Plaintext
80 lines
2.1 KiB
Plaintext
---
|
||
title: "步骤"
|
||
description: "创建带编号的分步流程,引导用户完成顺序任务、教程和设置工作流。"
|
||
keywords: ["sequence", "numbered steps", "procedures", "tutorial steps"]
|
||
---
|
||
|
||
import IconsOptional from "/snippets/zh/icons-optional.mdx";
|
||
|
||
使用步骤来展示一系列按顺序进行的操作或事件。你可以根据需要添加任意多的步骤。
|
||
|
||
<Steps>
|
||
<Step title="第一步">
|
||
以下仅适用于第一步的说明或内容。
|
||
</Step>
|
||
|
||
<Step title="第二步">
|
||
以下仅适用于第二步的说明或内容。
|
||
</Step>
|
||
|
||
<Step title="第三步">
|
||
以下仅适用于第三步的说明或内容。
|
||
</Step>
|
||
</Steps>
|
||
|
||
```mdx Steps example
|
||
<Steps>
|
||
<Step title="第一步">
|
||
以下仅适用于第一步的说明或内容。
|
||
</Step>
|
||
<Step title="第二步">
|
||
以下仅适用于第二步的说明或内容。
|
||
</Step>
|
||
<Step title="第三步">
|
||
以下仅适用于第三步的说明或内容。
|
||
</Step>
|
||
</Steps>
|
||
```
|
||
|
||
|
||
<div id="steps-properties">
|
||
## Steps 属性
|
||
</div>
|
||
|
||
<ResponseField name="children" type="ReactElement<StepProps>[]" required>
|
||
`Step` 组件列表。
|
||
</ResponseField>
|
||
|
||
<ResponseField name="titleSize" type="string" default="p">
|
||
步骤标题的字号。可选值为 `p`、`h2`、`h3` 和 `h4`。
|
||
</ResponseField>
|
||
|
||
<div id="individual-step-properties">
|
||
## 单个步骤属性
|
||
</div>
|
||
|
||
<ResponseField name="title" type="string" required>
|
||
标题是该步骤的主要文本,显示在指示器旁边。
|
||
</ResponseField>
|
||
|
||
<ResponseField name="children" type="string | ReactNode">
|
||
步骤的内容,可以是纯文本或组件。
|
||
</ResponseField>
|
||
|
||
<IconsOptional />
|
||
|
||
<ResponseField name="stepNumber" type="number">
|
||
步骤编号。
|
||
</ResponseField>
|
||
|
||
<ResponseField name="titleSize" type="string" default="p">
|
||
步骤标题的字号。可选值为 `p`、`h2`、`h3` 和 `h4`。
|
||
</ResponseField>
|
||
|
||
<ResponseField name="id" type="string">
|
||
步骤的自定义 ID,用于锚点链接和目录导航。
|
||
</ResponseField>
|
||
|
||
<ResponseField name="noAnchor" type="boolean" default="false">
|
||
是否隐藏该步骤的锚点链接。
|
||
</ResponseField> |