Skip to content

Commit c89323a

Browse files
authored
Editor updates (#797)
* explain when publish pushes changes live * clarify what an editor is * explain publish button behavior * clarify deployment vs main * copyediting
1 parent 77dbbe3 commit c89323a

File tree

3 files changed

+21
-22
lines changed

3 files changed

+21
-22
lines changed

advanced/dashboard/permissions.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: 'Editor Permissions'
33
description: 'Allow more members of your team to update your docs'
44
---
55

6-
The team member who created your initial docs will have update access to your docs, as long as they push to your documentation repo with the same GitHub account that was used while signing up for Mintlify.
6+
An editor has access to your dashboard and web editor.
77

8-
If another editor attempts to update the docs while on the free plan, you will see a warning in your git commit check.
8+
Anyone can contribute to your documentation by working locally and pushing changes to your repository, but there are key differences in how changes get deployed:
99

10-
<Frame>
11-
<img className="rounded-md" src="/images/editor-gate.png" />
12-
</Frame>
10+
* **Editor changes**: When an editor publishes through the web editor or merges a pull request into your docs repository, changes deploy to your live site automatically.
11+
* **Non-editor changes**: When a non-editor merges a pull request into your repository, you must manually trigger a deployment from your dashboard for those changes to appear on your live site.
1312

14-
In the details of the git check warning, you'll find the link to upgrade your plan. You can also upgrade your plan on the [dashboard](https://dashboard.mintlify.com) to enable unlimited editors to update your docs. Once you upgrade your plan, trigger a manual update or push another change to deploy your updates.
13+
## Add editors
14+
By default, the team member who created your Mintlify organization has editor access. Add additional editors in the [Members](https://dashboard.mintlify.com/settings/organization/members) page of your dashboard.
1515

16-
Learn more about our pricing [here](https://mintlify.com/pricing).
16+
Editor seats are billed based on usage, and you can have as many editors as you need. See our [pricing page](https://mintlify.com/pricing) for more details.

editor.mdx

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,10 @@ Markdown mode provides direct access to the underlying MDX code of your document
112112

113113
## Publishing
114114

115-
<Info>
116-
Publishing directly updates your configured deployment branch. For collaborative workflows, consider using branches and pull requests instead.
117-
</Info>
115+
The **Publish** button works differently depending on your branch:
118116

119-
When you're ready to make your changes live, click the **Publish** button in the top-right corner of the web editor.
120-
121-
Your changes will be deployed to your production site immediately.
117+
* **Deployment branch**: Updates your live site immediately. This is usually the `main` branch.
118+
* **Other branches**: Creates a pull request for review.
122119

123120
<Frame>
124121
<img
@@ -135,7 +132,7 @@ Your changes will be deployed to your production site immediately.
135132

136133
## Branches
137134

138-
Branches allow you to work on documentation changes without updating the main version until you're ready for your changes to go live.
135+
Branches allow you to safely work on changes without affecting your live documentation. When your changes are ready, you can merge them into your deployment branch with a pull request.
139136

140137
<Tip>
141138
Use branches for significant updates, new sections, or when multiple team members are working on different parts of the documentation simultaneously.
@@ -161,7 +158,7 @@ When you are working on a branch, your changes are not automatically saved.
161158

162159
## Pull Requests
163160

164-
Pull requests (or PRs) let you and other people review changes that you've made on a branch and then merge those changes into your main documentation.
161+
Pull requests (or PRs) let you and other people review changes that you've made on a branch and then merge those changes into your documentation.
165162

166163
### Creating a Pull Request on a Branch
167164

@@ -189,7 +186,7 @@ You can review pull requests in your Git platform (GitHub, GitLab).
189186

190187
After you create a pull request, you can see a preview deployment of the changes.
191188

192-
After a reviewer approves a pull request, you can merge the pull request into your main branch and the changes will be deployed to your live documentation site.
189+
After a reviewer approves a pull request, you can merge it to deploy the changes to your live documentation site.
193190

194191
## Git Synchronization
195192

@@ -199,11 +196,11 @@ The web editor integrates with your Git repository, ensuring that all changes ar
199196

200197
* **Authentication**: The web editor connects to your Git repository through our [GitHub App](/settings/github) or [GitLab integration](/settings/gitlab).
201198

202-
* **Automatic fetching**: When you open the editor, it automatically fetches the latest content from your repository's main branch.
199+
* **Automatic fetching**: When you open the editor, it automatically fetches the latest content from your repository's deployment branch.
203200

204201
* **Change tracking**: As you make edits, the web editor tracks changes and can commit them to your repository.
205202

206-
* **Branching**: You can make changes directly to your main branch or to a separate branch, depending on your workflow preferences.
203+
* **Branching**: You can make changes directly to your deployment branch or to a separate branch, depending on your workflow preferences.
207204

208205
* **Pull requests**: For collaborative workflows, you can create pull requests from the web editor.
209206

@@ -227,7 +224,7 @@ A commit is a snapshot of changes to your documentation at a specific point in t
227224

228225
<Accordion title="Branch">
229226

230-
A branch is a parallel version of your documentation that allows you to work on changes without affecting the main version. The web editor allows you to create and switch between branches.
227+
A branch is a parallel version of your documentation that allows you to work on changes without affecting the live version. The web editor allows you to create and switch between branches.
231228

232229
</Accordion>
233230

quickstart.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,13 @@ Then, in the visual editor, update the title field to "Hello World".
189189

190190
### Publish Your Changes
191191

192-
When you are satisfied with your edits, click the `Publish` button in the top-right corner.
192+
When you are satisfied with your edits, select the **Publish** button in the top-right corner. Your changes are immediately deployed to your documentation site.
193193

194-
Your changes are immediately deployed to your documentation site.
194+
<Tip>
195+
Use branches to preview and review changes through pull requests before deploying to your live site.
196+
</Tip>
195197

196-
For more details about using the web editor, including advanced features like slash commands and image uploads, see our [Web Editor documentation](/editor).
198+
For more details about using the web editor, including using branches and pull request to collaborate and preview changes, see our [Web Editor documentation](/editor).
197199

198200
## Adding a Custom Domain
199201

0 commit comments

Comments
 (0)