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>
73 lines
3.0 KiB
Plaintext
73 lines
3.0 KiB
Plaintext
---
|
||
title: "使用 AI 编辑"
|
||
description: "在 Mintlify 网页编辑器中使用内联 AI 撰写新内容、改写现有文本、重组章节并提升文档质量。"
|
||
keywords: ["ai", "inline", "editing", "improve writing", "auto structure", "ask ai"]
|
||
---
|
||
|
||
<Note>
|
||
内联 AI 编辑仅在可视化模式下可用。请使用编辑器工具栏中的切换按钮切换到可视化模式。
|
||
</Note>
|
||
|
||
使用内联 AI 编辑来生成新内容、改进现有内容或重组章节,无需离开可视化编辑器。AI 的更改会以高亮 diff 的形式显示,以便你在应用任何更改之前进行审查。
|
||
|
||
<div id="start-an-ai-editing-session">
|
||
## 开始 AI 编辑会话
|
||
</div>
|
||
|
||
有四种方式可以开始 AI 编辑会话:
|
||
|
||
- **在空行上按 <kbd>Space</kbd>**:在空段落中按下 <kbd>Space</kbd> 以打开 AI 提示框。
|
||
- **斜杠命令**:输入 <kbd>/</kbd> 并从菜单中选择 **Ask AI**。
|
||
- **文本工具栏**:选择文本,然后点击浮动工具栏中的 <Icon icon="sparkles" /> 闪光图标以选择 AI 操作。
|
||
- **块菜单**:点击任意块旁边的拖动手柄,然后选择 **Ask AI**。
|
||
|
||
<div id="skills">
|
||
## 技能
|
||
</div>
|
||
|
||
<div id="ask-ai">
|
||
### Ask AI
|
||
</div>
|
||
|
||
输入一条指令让 AI 执行。适用于任何不符合预设操作的编辑,例如翻译文本、添加示例或为不同受众改写内容。
|
||
|
||
当你在空段落上使用 Ask AI 技能时,AI 会生成新内容。当你在现有内容上使用 Ask AI 技能时,AI 会根据你的提示编辑所选内容。
|
||
|
||
<div id="improve-writing">
|
||
### 改进写作
|
||
</div>
|
||
|
||
选择文本并从文本工具栏中选择 **Improve writing**,让 AI 在保留你的原意的同时优化语法、清晰度和语气。
|
||
|
||
<div id="optimize-structure">
|
||
### 优化结构
|
||
</div>
|
||
|
||
选择文本并从文本工具栏中选择 **Optimize structure**,让 AI 使用适当的标题、列表或其他格式将所选内容重组为更清晰的结构。
|
||
|
||
<div id="review-and-apply-changes">
|
||
## 审查并应用更改
|
||
</div>
|
||
|
||
提交提示后,AI 会将其响应直接流式传输到编辑器中。编辑器会用 diff 标记高亮显示所有插入和删除内容,以便你审查更改。
|
||
|
||
当 AI 完成后,浮动提示栏会显示更改摘要以及操作按钮:
|
||
|
||
- **Apply** <Icon icon="check" />:接受更改并保存到文档。你也可以按 <kbd>Enter</kbd> 来应用。
|
||
- **Undo** <Icon icon="undo-2" />:撤销更改并恢复原始内容。
|
||
- **Retry** <Icon icon="refresh-cw" />:丢弃当前结果并重新运行相同的提示。
|
||
|
||
随时按 <kbd>Esc</kbd> 可丢弃 AI 会话并恢复原始内容。
|
||
|
||
<div id="edit-your-prompt">
|
||
## 编辑你的提示
|
||
</div>
|
||
|
||
在 AI 生成响应时,提示输入框保持可见。如果结果与你的预期不符,可以修改指令并重新提交:
|
||
|
||
1. 点击 **Undo** <Icon icon="undo-2" /> 以撤销当前更改。
|
||
2. 在输入框中编辑提示文本。
|
||
3. 按 <kbd>Enter</kbd> 或点击提交按钮以运行更新后的指令。
|
||
|
||
如果 AI 返回错误,点击 **Retry** <Icon icon="refresh-cw" /> 重试,或编辑提示并重新提交。
|