Create a branch
A branch is a temporary copy of your content. It’s where you make your changes without affecting your live site.Think of branches like drafts. You can merge them into your live site or safely discard them if you choose not to make the changes.Working on a branch keeps your edits separate from your live site until you’re ready to share the content with your users.
-
In the editor toolbar, click the branch name (usually
main).
- Click Create new branch.
-
Enter a name that describes your change, like
update-quickstart. - Click Create branch.
Make your changes
Edit an existing page or create a new one.To edit a page: Click the page name in the navigation sidebar to open it. Type directly in the editor to add content. Press / to insert components, images, or other content.To create a page: Click the plus button next to the navigation group where you want to add the page, then click Add a page and enter a filename.

Publish your branch
When you’re ready for review, publish your branch to create a pull request. A pull request is a proposal to merge your changes into the branch that builds your live site. Your changes only go live if the pull request is approved and merged.
-
Click Publish in the toolbar to open the publish menu.

- Optionally, click any changed file in the list to view and compare your edits against the published version.
- Click Save in branch to commit your changes to the branch.
- Click Create pull request. Add a title and description, then click Publish pull request.
Get your pull request approved
Share the pull request with your team. Reviewers can open the pull request in GitHub or GitLab to leave comments, request changes, or approve it.If a reviewer requests changes, make the edits in the editor on the same branch. Your updates push to the existing pull request automatically. You don’t need to create a new one.When all required reviewers have approved, the pull request is ready to merge.
Merge and publish
With the pull request approved, click Publish in the toolbar to reopen the publish menu. The menu now shows the pull request status and an option to merge.Click Merge and publish. The editor merges the pull request and switches you back to your deployment branch. Mintlify builds and deploys your changes. Your live site updates in about 30 seconds to a few minutes.


