Two ways to work
Mintlify gives you two ways to edit your documentation, and they both use Git under the hood. The web editor abstracts Git almost entirely. You open a page, make changes, and publish. Mintlify handles branching and committing behind the scenes. It’s great for quick edits and for teammates who’d rather not touch a terminal. Local editing with the CLI gives you full control: a real text editor, local preview, and direct access to Git. It’s the better choice for larger restructuring work, adding new pages, or anyone who prefers their own environment. Most documentation teams end up using both, depending on the task.The web editor workflow
Open a page in the editor
Navigate to your documentation site and click the Edit button, or go directly to dashboard.mintlify.com and open the editor from there.
Make your changes
Edit the page content using the visual editor or switch to markdown mode for direct MDX editing. Changes are saved automatically as you work.
Publish
Click Publish. Mintlify creates a branch, commits your changes, and opens a pull request — all in one step. You’ll see a preview link in the PR so you can verify the changes before merging.
The local CLI workflow
Start the local preview
Run Mintlify’s development server to see your changes in real time:Your docs site is now running locally at
http://localhost:3000. Every change you save appears immediately.Commit your changes
When you’re ready to save a snapshot:Commit as often as makes sense — each commit should represent a coherent unit of work.
Push and open a pull request
Send your branch to GitHub:GitHub will show a prompt to open a pull request. Click it, add a description of what you changed and why, and submit.
What Mintlify does when you open a PR
When a pull request is opened against your documentation repository, Mintlify’s GitHub app does two things automatically:- Runs checks: Mintlify validates your changes — checking for broken links, missing metadata, and other issues — and reports the results directly in the PR.
- Generates a preview: A full preview of your documentation site with the PR’s changes applied is deployed and linked in the PR. Anyone with the link can review the exact published result before a single change goes live.