Skip to content

Commit 54a0d73

Browse files
committed
explain publish button behavior
1 parent 5fba5d5 commit 54a0d73

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

editor.mdx

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

113113
## Publishing
114114

115-
<Info>
116-
Publishing from your main branch updates your live site immediately. To review changes before they go live, work on a separate branch and use pull requests.
117-
</Info>
115+
The **Publish** button works differently depending on your branch:
118116

119-
When you're ready to make your changes live, select the **Publish** button in the top-right corner of the web editor.
117+
* **Main branch**: Updates your live site immediately.
118+
* **Other branches**: Creates a pull request for review.
120119

121120
<Frame>
122121
<img

quickstart.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,11 @@ 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

196198
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

0 commit comments

Comments
 (0)