Use this checklist for any documentation change.
git checkout main
git pull origin main
git checkout -b docs/<section>/<short-description>Example:
git checkout -b docs/direct-integration/update-endpointsmintlify dev
# or
npm run devOpen: http://localhost:3000
- Edit
.mdxfiles in VS Code - Save (Cmd + S)
- Verify changes render correctly in the browser
If keeping a legacy version:
_old-pages/<page-name>-old.mdx
Do not leave backup files in active folders.
- ❌ No
.DS_Store - ❌ No temp / backup files
- ✅ Only intended files changed
Add to .gitignore if missing:
.DS_Store
Use clear messages:
docs: update refund documentation
chore: archive legacy page
git push -u origin <branch>Or click Push origin in GitHub Desktop.
- Base: main
- Compare: your docs branch
- Describe what changed and why
- Review Files changed carefully
- Confirm no conflicts
- Merge PR
- Delete branch (recommended)
- If Mintlify auto-deploys from main: ✅ done
- If manual:
mintlify deploy- Docs render locally
- No junk files
- PR diff is clean
- Live docs updated after merge
Rule of thumb: If it renders correctly in Mintlify locally and the PR diff is clean, it's safe to merge.