Live preview
Live preview renders your site as you edit, with no build step. On the Site tab, click Preview in the top bar. The preview opens full screen. Click Refresh preview to reload it, or Close preview to return to the editor. To open the preview in a new browser tab instead, turn on Open live preview in new tab. To edit site settings and see how they affect your content, click Site settings in the preview toolbar, then select a configuration section. To open the agent beside the preview, click Ask agent in the preview toolbar. Only editors and admins can use the agent in live previews.Live preview is only available for public sites and sites protected by Mintlify authentication.
Preview deployments
When your feature branch has a pull request, Mintlify builds a preview deployment: a temporary URL where your changes render exactly as they look when published. The preview rebuilds each time the editor commits new changes to the branch. The URL combines your project’s subdomain and the branch name:<subdomain>-<branch-name>.mintlify.site. Find the exact URL in the pull request comment from the Mintlify bot.
Preview URLs are publicly accessible by default. To restrict access to members of your Mintlify organization, enable preview authentication in the Previews section of the General page in your dashboard. See Restrict access to preview deployments for more information.
Which preview to use
Share an editor link
To point a teammate at a specific page on a branch, click More options in the top-right of the page, then click Copy link. Anyone with access to your Mintlify organization can open the link in their own editor session.Review and merge pull requests
When your branch has a pull request, the publish menu shows its changed files and review status, like Draft in progress, Review required, Changes requested, or Approved. Click View request to open the pull request in your Git provider.- Click Publish in the top bar, then click Request review. This marks the pull request ready for review.
- Reviewers approve the pull request in your Git provider.
- Click Publish, then click Merge and publish. The editor merges the pull request, deploys your changes, and switches you back to your deployment branch.