How drafts work
Every edit saves automatically. As you type, the editor saves your work to Mintlify’s servers, then commits changes to the draft’s branch in the background. Your changes persist across tabs, devices, and network interruptions. Each draft tracks its own version history. The editor commits changes as you work, so a draft builds up a history of changes on its branch. It also keeps an open pull request that reflects the current state of the draft. Nothing goes live until you publish. A draft never affects your live site while you edit it. You control when its changes deploy. Keep multiple drafts at once. Work on several sets of changes in parallel, each in its own draft, and publish them separately.Drafts are separate from the deployment branch that builds your live site. Editing a draft never changes your live site until you publish the draft.
Create a draft
- Click the deployment selector in the editor toolbar. When you’re editing your deployment branch, it displays Live site. When you’re editing a draft, it displays the name of the draft.

- Click the Drafts tab.
- Click New draft.
Switch between drafts
- Click the deployment selector in the editor toolbar.
- Click Live site to return to your deployment branch or click another draft to switch to it.
Publish a draft
When your draft is ready, open the publish menu to review your changes and publish. The available actions depend on whether your deployment branch requires review before changes go live.Open the publish menu
Click Publish in the editor toolbar. The menu lists every pending change in the draft. Click any change to review it.
Request review (if required)
If your deployment branch requires review, click Request review to mark the draft’s pull request ready for your team to review. Reviewers approve the pull request from the editor or from your Git provider.
Publish
Click Publish to merge the draft into your deployment branch and deploy it. If your team requires reviews, Publish only becomes available after the pull request receives approval.Only one publish can happen at a time per draft. If a publish is already in progress, wait for it to finish before publishing again.
Rename a draft
- Click the deployment selector in the editor toolbar.
- Click the Drafts tab.
- Hover over the draft and click the rename icon.
- Enter a new name and press Enter.
Delete a draft
- Click the deployment selector in the editor toolbar.
- Click the Drafts tab.
- Hover over the draft and click the delete icon.
- Confirm the deletion.
Drafts versus branches
Drafts and branches both let you work on changes in isolation before publishing. Choose based on how your team works:- Use drafts if you want the editor to manage Git for you.
- Use branches if you follow a Git-based workflow and want to name branches, manage pull requests directly, or coordinate with changes made outside the editor. See Branching and publishing.
