第一次使用编辑器?请从教程开始。
创建分支、进行修改、共享预览并发布。
编辑器的工作方式
编辑器布局
- 顶部栏:使用顶部栏选择你要工作的分支、使用智能体、预览和发布更改。
- 侧边栏:使用侧边栏选择要编辑的页面、创建新页面并管理站点结构。
- Home:项目的文件树。Personal 中的页面仅你自己可见。Workspace 中的页面对你的组织公开。
- Publishing:站点的导航结构。按照你希望页面在站点上呈现的方式来组织它们。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
使用 Mintlify 编辑器在浏览器中创建、编辑和发布内容。支持实时协作和持续的 Git 同步。
| 编辑器中的操作 | Git 操作 |
|---|---|
| 编辑页面 | 自动保存。尚未创建 commit。 |
| 在 deployment branch 上发布 | git commit 和 git push,并触发部署。 |
| Save in branch | 在当前 feature branch 上执行 git commit。 |
| Create pull request | 执行 git push 并针对 deployment branch 打开一个 pull request。 |
| Merge and publish | 合并 pull request 并触发部署。 |
| 创建分支 | git checkout -b <branch-name> |
| 切换分支 | git checkout <branch-name> |
| 外部 push 或 CLI 更新 | 传入的更改通过三方合并同步到编辑器中。 |
Suggestions