Skip to content

Commit 0f06c2e

Browse files
Documentation edits made through Mintlify web editor
1 parent d8d3170 commit 0f06c2e

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

development.mdx

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,33 @@ description: 'Preview changes locally to update your docs'
44
---
55

66
<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.
108
</Info>
119

1210
**Step 1**: Install Mintlify:
1311

1412
<CodeGroup>
15-
1613
```bash npm
1714
npm i -g mintlify
1815
```
1916

20-
```bash yarn
21-
yarn global add mintlify
22-
```
23-
17+
```bash yarn
18+
yarn global add mintlify
19+
```
2420
</CodeGroup>
2521

2622
**Step 2**: Navigate to the docs directory (where the `mint.json` file is located) and execute the following command:
2723

24+
25+
26+
<Info>
27+
Callout Content
28+
29+
test chargebee
30+
</Info>
31+
32+
33+
2834
```bash
2935
mintlify dev
3036
```
@@ -50,15 +56,13 @@ Port 3000 is already in use. Trying 3001 instead.
5056
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:
5157

5258
<CodeGroup>
53-
5459
```bash npm
5560
npm i -g mintlify@latest
5661
```
5762

58-
```bash yarn
59-
yarn global upgrade mintlify
60-
```
61-
63+
```bash yarn
64+
yarn global upgrade mintlify
65+
```
6266
</CodeGroup>
6367

6468
## Validating Links
@@ -74,10 +78,7 @@ mintlify broken-links
7478
If the deployment is successful, you should see the following:
7579

7680
<Frame>
77-
<img
78-
className="rounded-md"
79-
src="https://mintlify.s3-us-west-1.amazonaws.com/mintlify/images/checks-passed.png"
80-
/>
81+
<img className="rounded-md" src="https://mintlify.s3-us-west-1.amazonaws.com/mintlify/images/checks-passed.png" />
8182
</Frame>
8283

8384
## Code Formatting
@@ -87,16 +88,17 @@ We suggest using extensions on your IDE to recognize and format MDX. If you're a
8788
## Troubleshooting
8889

8990
<AccordionGroup>
90-
<Accordion title='Error: Could not load the "sharp" module using the darwin-arm64 runtime'>
91-
91+
<Accordion title="Error: Could not load the &#x22;sharp&#x22; module using the darwin-arm64 runtime">
9292
This may be due to an outdated version of node. Try the following:
93+
9394
1. Remove the currently-installed version of mintlify: `npm remove -g mintlify`
95+
9496
2. Upgrade to Node v19 or higher.
97+
9598
3. Reinstall mintlify: `npm install -g mintlify`
9699
</Accordion>
97100

98101
<Accordion title="Issue: Encountering an unknown error">
99-
100102
Solution: Go to the root of your device and delete the \~/.mintlify folder. Afterwards, run `mintlify dev` again.
101103
</Accordion>
102-
</AccordionGroup>
104+
</AccordionGroup>

0 commit comments

Comments
 (0)