If there is no Publish button in your editor toolbar, your project has auto publish turned on and your edits go live automatically.If there is no branch selector, show the branch selector.If you only see your own changes in the Publish menu, turn on granular publishing to see everyone’s changes.
Pending changes
On your deployment branch, the editor tracks the following as pending changes until you publish them:- Content edits in pages
- New or deleted pages
- Navigation structure changes
- Media uploads
- Configuration updates
What happens when you publish
- Publish: Commits your pending changes to your deployment branch and deploys them to your live site.
- Request review: Marks the branch’s pull request ready for review.
- Merge and publish: Merges the pull request into your deployment branch and deploys it. Available once the pull request is ready or approved, depending on your repository’s review requirements.
- Create branch: Creates a new feature branch when you can’t publish to the current branch.
Your live site updates after Mintlify builds and deploys your changes. This typically takes 30 seconds to a few minutes. Check the deployment status on your dashboard.
Invalid MDX blocks publishing
If any page on your branch has invalid MDX, the editor disables the Publish and Request review buttons until you fix it. Hover over Publish to see how many pages have errors, then open each page in source mode to see and fix the error. See Publish button disabled because of invalid MDX for details.Publish specific changes
When several people have pending changes on your deployment branch, the Granular publishing setting controls which changes the Publish menu shows. Granular publishing off (default): The Publish menu shows only your changes. That includes files you edited, files that you and teammates both edited, and files with no recorded author. Publish and Discard all apply only to those changes. If teammates have other pending changes, a notice says that their changes are hidden. Granular publishing on: The Publish menu splits pending changes into Your changes and Modified by others. Your changes start selected, and others’ changes start unselected. Use the checkboxes to choose which changes to publish. Each section has its own Discard button. A contributors icon marks files that someone other than you edited. Hover over it to see who edited the file.- Granular publishing only applies on a deployment branch without branch protections. On feature branches, publishing includes every pending change.
- Deleting a folder deletes every page inside it. Those deletions publish together. You can’t partially delete a folder.
- Some changes depend on each other, like a page and its navigation entry. If your selection leaves out a change that a selected change depends on, the publish fails with an error. Adjust your selection to include the dependency, then publish again.
Work on a branch
Edit directly on your deployment branch if you don’t use a review workflow. Create a branch if each change goes through review before it reaches your live site. To create a branch:- Click the branch name in the editor toolbar. On your deployment branch, the name has a Live badge.
- Optionally, type a title for your branch in Find a branch.
- Click New branch.