You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -37,17 +38,18 @@ Both workflows are fully integrated with your Git repository, so you can use the
37
38
38
39
The Web Editor offers two distinct modes to accommodate different editing preferences and needs.
39
40
40
-
You can switch between modes at any time using the toggle in the top right corner of the editor toolbar.
41
+
You can switch between natural modes at any time using the toggle in the top right corner of the editor toolbar.
41
42
42
43
<Frame>
43
-
<img
44
-
src="/images/editor/mode-toggle-light.png"
45
-
alt="Mode toggle in the Mintlify Web Editor"
44
+
<img
45
+
src="/images/editor/mode-toggle-light.png"
46
+
alt="Mode toggle in the Mintlify Web Editor"
46
47
className="block dark:hidden"
47
48
/>
48
-
<img
49
-
src="/images/editor/mode-toggle-dark.png"
50
-
alt="Mode toggle in the Mintlify Web Editor"
49
+
50
+
<img
51
+
src="/images/editor/mode-toggle-dark.png"
52
+
alt="Mode toggle in the Mintlify Web Editor"
51
53
className="hidden dark:block"
52
54
/>
53
55
</Frame>
@@ -57,14 +59,15 @@ You can switch between modes at any time using the toggle in the top right corne
57
59
Visual Mode provides a rich WYSIWYG experience where you can see exactly how your documentation will appear as you create it.
58
60
59
61
<Frame>
60
-
<img
61
-
src="/images/editor/visual-mode-light.png"
62
-
alt="Visual editing mode in the Mintlify Web Editor"
62
+
<img
63
+
src="/images/editor/visual-mode-light.png"
64
+
alt="Visual editing mode in the Mintlify Web Editor"
63
65
className="block dark:hidden"
64
66
/>
65
-
<img
66
-
src="/images/editor/visual-mode-dark.png"
67
-
alt="Visual editing mode in the Mintlify Web Editor"
67
+
68
+
<img
69
+
src="/images/editor/visual-mode-dark.png"
70
+
alt="Visual editing mode in the Mintlify Web Editor"
68
71
className="hidden dark:block"
69
72
/>
70
73
</Frame>
@@ -74,14 +77,15 @@ Visual Mode provides a rich WYSIWYG experience where you can see exactly how you
74
77
Markdown Mode provides direct access to the underlying MDX code of your documentation. This mode is preferable when you need precise control over component properties or when you're comfortable with Markdown/MDX syntax.
75
78
76
79
<Frame>
77
-
<img
78
-
src="/images/editor/markdown-mode-light.png"
79
-
alt="Markdown editing mode in the Mintlify Web Editor"
80
+
<img
81
+
src="/images/editor/markdown-mode-light.png"
82
+
alt="Markdown editing mode in the Mintlify Web Editor"
80
83
className="block dark:hidden"
81
84
/>
82
-
<img
83
-
src="/images/editor/markdown-mode-dark.png"
84
-
alt="Markdown editing mode in the Mintlify Web Editor"
85
+
86
+
<img
87
+
src="/images/editor/markdown-mode-dark.png"
88
+
alt="Markdown editing mode in the Mintlify Web Editor"
85
89
className="hidden dark:block"
86
90
/>
87
91
</Frame>
@@ -93,23 +97,24 @@ Unlike the CLI where you need to know the exact syntax to add a component, the W
93
97
To access the component menu, press the `/` key.
94
98
95
99
<Frame>
96
-
<img
97
-
src="/images/editor/component-menu-light.png"
98
-
alt="Component menu in the Mintlify Web Editor"
99
-
className="block dark:hidden"
100
+
<img
101
+
src="/images/editor/component-menu-light.png"
102
+
alt="Component menu in the Mintlify Web Editor"
103
+
className="block dark:hidden"
100
104
/>
101
-
<img
102
-
src="/images/editor/component-menu-dark.png"
103
-
alt="Component menu in the Mintlify Web Editor"
104
-
className="hidden dark:block"
105
+
106
+
<img
107
+
src="/images/editor/component-menu-dark.png"
108
+
alt="Component menu in the Mintlify Web Editor"
109
+
className="hidden dark:block"
105
110
/>
106
111
</Frame>
107
112
108
113
### Available Components
109
114
110
115
The component menu gives you access to all supported elements and components, including:
@@ -144,18 +149,19 @@ The Web Editor provides an intuitive interface for making changes.
144
149
145
150
## Publishing
146
151
147
-
When you're ready to make your changes live, click the "Publish" button in the top-right corner to publish your changes.
152
+
When you're ready to make your changes live, click the "Publish Pull Request" button in the top-right corner to publish your changes.
148
153
149
154
<Frame>
150
-
<img
151
-
src="/images/editor/publish-flow-light.png"
152
-
alt="Publishing flow in the Mintlify Web Editor"
153
-
className="block dark:hidden"
155
+
<img
156
+
src="/images/editor/publish-flow-light.png"
157
+
alt="Publishing flow in the Mintlify Web Editor"
158
+
className="block dark:hidden"
154
159
/>
155
-
<img
156
-
src="/images/editor/publish-flow-dark.png"
157
-
alt="Publishing flow in the Mintlify Web Editor"
158
-
className="hidden dark:block"
160
+
161
+
<img
162
+
src="/images/editor/publish-flow-dark.png"
163
+
alt="Publishing flow in the Mintlify Web Editor"
164
+
className="hidden dark:block"
159
165
/>
160
166
</Frame>
161
167
@@ -190,23 +196,24 @@ When you are in a branch, you can make and save changes by clicking the "Save Ch
190
196
191
197
Pull requests provide a way to review changes before they're merged into your main documentation.
192
198
193
-
### Creating a Pull Request
199
+
### Creating a Pull Request on a Branch
194
200
195
-
1. Make your changes on a feature branch
196
-
2. Click the "Create Pull Request" button in the top-right corner
197
-
3. Add a title and description for your pull request
198
-
4. Click "Create Pull Request"
201
+
1. Make your changes on a branch
202
+
2. Click the "Publish Pull Request" button in the top-right corner
203
+
3. Add a Pull Request Title and Description for your pull request
204
+
4. Click "Publish Pull Request"
199
205
200
206
<Frame>
201
-
<img
202
-
src="/images/editor/pull-request-light.png"
203
-
alt="Pull request creation in the Mintlify Web Editor"
204
-
className="block dark:hidden"
207
+
<img
208
+
src="/images/editor/pull-request-light.png"
209
+
alt="Pull request creation in the Mintlify Web Editor"
210
+
className="block dark:hidden"
205
211
/>
206
-
<img
207
-
src="/images/editor/pull-request-dark.png"
208
-
alt="Pull request creation in the Mintlify Web Editor"
209
-
className="hidden dark:block"
212
+
213
+
<img
214
+
src="/images/editor/pull-request-dark.png"
215
+
alt="Pull request creation in the Mintlify Web Editor"
216
+
className="hidden dark:block"
210
217
/>
211
218
</Frame>
212
219
@@ -225,13 +232,9 @@ The Web Editor seamlessly integrates with your Git repository, ensuring that all
225
232
### How Git Sync Works
226
233
227
234
1.**Authentication**: The Web Editor connects to your Git repository through our [GitHub App](/settings/github) or [GitLab integration](/settings/gitlab).
228
-
229
235
2.**Automatic Fetching**: When you open the editor, it automatically fetches the latest content from your repository's main branch.
230
-
231
236
3.**Change Tracking**: As you make edits in the Web Editor, changes are tracked and can be committed to your repository.
232
-
233
237
4.**Branching**: Changes can be made directly to your main branch or to a separate feature branch, depending on your workflow preferences.
234
-
235
238
5.**Pull Requests**: For collaborative workflows, you can create pull requests directly from the Web Editor.
236
239
237
240
## Git Terminology
@@ -241,80 +244,62 @@ While not necessary, understanding the following terms will help you work more e
241
244
The following terms are used in the Web Editor and are also used in the Git workflow.
242
245
243
246
<AccordionGroup>
244
-
245
-
<Accordiontitle="Repository">
246
-
247
-
A repository (or "repo") is where your documentation files are stored, along with their revision history. The Web Editor connects to your Git repository to fetch and store documentation content.
248
-
249
-
</Accordion>
250
-
251
-
<Accordiontitle="Commit">
252
-
253
-
A commit is a snapshot of changes to your documentation at a specific point in time. When you publish changes in the Web Editor, you're creating a commit in your Git repository.
254
-
255
-
</Accordion>
256
-
257
-
<Accordiontitle="Branch">
258
-
259
-
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.
260
-
261
-
</Accordion>
262
-
263
-
<Accordiontitle="Pull Request">
264
-
265
-
A pull request (PR) is a proposal to merge changes from one branch into another, typically from a feature branch into the main branch. PRs facilitate review and discussion before changes are incorporated.
266
-
267
-
</Accordion>
268
-
269
-
<Accordiontitle="Diff">
270
-
271
-
A diff (or difference) shows the specific changes between two versions of a file. When reviewing pull requests, diffs highlight what has been added, removed, or modified.
272
-
273
-
</Accordion>
274
-
247
+
<Accordiontitle="Repository">
248
+
A repository (or "repo") is where your documentation files are stored, along with their revision history. The Web Editor connects to your Git repository to fetch and store documentation content.
249
+
</Accordion>
250
+
<Accordiontitle="Commit">
251
+
A commit is a snapshot of changes to your documentation at a specific point in time. When you publish changes in the Web Editor, you're creating a commit in your Git repository.
252
+
</Accordion>
253
+
<Accordiontitle="Branch">
254
+
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.
255
+
</Accordion>
256
+
<Accordiontitle="Pull Request">
257
+
A pull request (PR) is a proposal to merge changes from one branch into another, typically from a feature branch into the main branch. PRs facilitate review and discussion before changes are incorporated.
258
+
</Accordion>
259
+
<Accordiontitle="Diff">
260
+
A diff (or difference) shows the specific changes between two versions of a file. When reviewing pull requests, diffs highlight what has been added, removed, or modified.
261
+
</Accordion>
275
262
</AccordionGroup>
276
263
277
264
## Troubleshooting
278
265
279
266
Here are solutions to common issues you might encounter with the Web Editor.
280
267
281
268
<AccordionGroup>
282
-
<Accordiontitle="Changes Not Appearing After Publishing">
283
-
284
-
**Possible causes:**
285
-
- Deployment is still in progress
286
-
- Caching issues in your browser
269
+
<Accordiontitle="Changes Not Appearing After Publishing">
270
+
**Possible causes:**
287
271
288
-
**Solutions:**
289
-
1. Check deployment status in your Mintlify Dashboard
290
-
2. Try hard refreshing your browser (Ctrl+F5 or Cmd+Shift+R)
291
-
3. Clear your browser cache
272
+
- Deployment is still in progress
273
+
- Caching issues in your browser
292
274
293
-
</Accordion>
275
+
**Solutions:**
294
276
295
-
<Accordiontitle="Permission Errors When Publishing">
277
+
1. Check deployment status in your Mintlify Dashboard
278
+
2. Try hard refreshing your browser (Ctrl\+F5 or Cmd\+Shift\+R)
279
+
3. Clear your browser cache
280
+
</Accordion>
281
+
<Accordiontitle="Permission Errors When Publishing">
282
+
**Possible causes:**
296
283
297
-
**Possible causes:**
298
-
- Insufficient permissions to the Git repository
299
-
- Authentication issues with your Git provider
284
+
- Insufficient permissions to the Git repository
285
+
- Authentication issues with your Git provider
300
286
301
-
**Solutions:**
302
-
1. Verify you have correct access to the repository
303
-
2. Check if your Git integration is properly configured
304
-
3. Review the [Editor Permissions](/advanced/dashboard/permissions) documentation
287
+
**Solutions:**
305
288
306
-
</Accordion>
289
+
1. Verify you have correct access to the repository
290
+
2. Check if your Git integration is properly configured
291
+
3. Review the [Editor Permissions](/advanced/dashboard/permissions) documentation
0 commit comments