The web editor has two layers of settings:Documentation Index
Fetch the complete documentation index at: https://www.mintlify.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Your settings apply only to you and control how the editor’s AI assists with your edits.
- Publishing settings apply to everyone on a deployment and shape what happens when changes are committed and turned into pull requests.
AI instructions
AI instructions are persistent guidance that the editor sends to the AI alongside your request. Use them to capture style and tone rules you don’t want to repeat every time, like voice, terminology, or formatting conventions. Your instructions apply to:- Edit with AI actions on a selection, such as rewrite, expand, or fix.
- Agent sessions started from the editor.
When to use AI instructions
Add AI instructions when you find yourself repeating the same guidance in prompts, for example:- Enforcing second-person voice or sentence case headings.
- Preferring specific product names or terminology.
- Banning marketing language or filler phrases.
- Requiring certain components, like always using
<Note>for callouts.
Configure AI instructions
- Open the editor and click your avatar in the toolbar.
- Select Settings.
- In the AI instructions field, enter the guidance you want the AI to follow.
- Save your changes.
Publishing settings
Publishing settings are configured per deployment and apply to everyone who publishes from the editor. They control how pull requests and commits are generated, opened, and merged. You need admin access to your Mintlify deployment to change publishing settings.Commit message instructions
Commit message instructions guide the AI when it generates a commit message for a publish. The editor uses them whenever you publish without typing your own message. Use commit message instructions to match an existing convention in your repository, for example:- Conventional Commits (
docs(editor): ...). - A required ticket or issue prefix.
- A maximum subject length stricter than the 72-character default.
Pull request instructions
Pull request instructions guide the AI when it generates a pull request title and description. They apply whenever the editor opens a pull request on your behalf, including from Create pull request and Merge and publish flows. Use pull request instructions to standardize what reviewers see, for example:- Required sections like Summary and Changes.
- A description template that links to a tracking system.
- Tone or length requirements for titles.
Create pull requests as drafts by default
Turn this on to have the editor open every new pull request in draft state. You can’t merge a draft pull request until you mark it ready for review. This is useful when:- Your team requires a manual review pass before a pull request is open for approval.
- You want to share preview URLs without signaling that the change is ready to merge.
Default merge method
Choose how the editor merges pull requests when you click Merge and publish:- Merge: Creates a merge commit that preserves the full branch history.
- Squash: Combines all commits in the branch into a single commit on your deployment branch.
- Rebase: Replays each commit from the branch onto your deployment branch without a merge commit.