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
Copy file name to clipboardExpand all lines: development.mdx
+23-21Lines changed: 23 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,27 +4,33 @@ description: 'Preview changes locally to update your docs'
4
4
---
5
5
6
6
<Info>
7
-
8
-
**Prerequisite**: Please install Node.js (version 19 or higher) before proceeding.
9
-
7
+
**Prerequisite**: Please install Node.js (version 19 or higher) before proceeding.
10
8
</Info>
11
9
12
10
**Step 1**: Install Mintlify:
13
11
14
12
<CodeGroup>
15
-
16
13
```bash npm
17
14
npm i -g mintlify
18
15
```
19
16
20
-
```bash yarn
21
-
yarn global add mintlify
22
-
```
23
-
17
+
```bash yarn
18
+
yarn global add mintlify
19
+
```
24
20
</CodeGroup>
25
21
26
22
**Step 2**: Navigate to the docs directory (where the `mint.json` file is located) and execute the following command:
27
23
24
+
25
+
26
+
<Info>
27
+
Callout Content
28
+
29
+
test chargebee
30
+
</Info>
31
+
32
+
33
+
28
34
```bash
29
35
mintlify dev
30
36
```
@@ -50,15 +56,13 @@ Port 3000 is already in use. Trying 3001 instead.
50
56
Please note that each CLI release is associated with a specific version of Mintlify. If your local website doesn't align with the production version, please update the CLI:
51
57
52
58
<CodeGroup>
53
-
54
59
```bash npm
55
60
npm i -g mintlify@latest
56
61
```
57
62
58
-
```bash yarn
59
-
yarn global upgrade mintlify
60
-
```
61
-
63
+
```bash yarn
64
+
yarn global upgrade mintlify
65
+
```
62
66
</CodeGroup>
63
67
64
68
## Validating Links
@@ -74,10 +78,7 @@ mintlify broken-links
74
78
If the deployment is successful, you should see the following:
0 commit comments