Skip to content

Commit de666e0

Browse files
authored
fix(docs): update mintlify dev script (#1535)
1 parent bc1897d commit de666e0

4 files changed

Lines changed: 94 additions & 4569 deletions

File tree

.changeset/wicked-houses-raise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@docs/mintlify": patch
3+
---
4+
5+
Improved a method for how `mintlify` CLI is included when running development server locally.

docs/docs.ensnode.io/README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,18 @@
1818
cd ensnode/docs/docs.ensnode.io
1919
```
2020

21-
3. Install dependencies:
21+
3. Start the local development server:
2222

2323
```bash
24-
pnpm install
24+
pnpm mint dev
2525
```
2626

27-
4. Start the local development server:
28-
29-
```bash
30-
pnpm dev
31-
```
32-
33-
5. Open [http://localhost:3000](http://localhost:3000) in your browser
27+
4. Open [http://localhost:3000](http://localhost:3000) in your browser
3428

3529
### Troubleshooting
3630

37-
- If your dev environment isn't running, run `mintlify install` to ensure dependencies are installed correctly.
3831
- If a page loads as a 404, make sure you are running in a folder with a valid `docs.json`.
32+
- Run `pnpm mint --help` to read more details about Mintlify CLI.
3933

4034
## Publishing Changes
4135

docs/docs.ensnode.io/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@
1212
},
1313
"homepage": "https://github.com/namehash/ensnode/tree/main/docs/docs.ensnode.io",
1414
"scripts": {
15-
"dev": "mintlify dev"
16-
},
17-
"devDependencies": {
18-
"mintlify": "^4.1.0"
15+
"mint": "pnpm dlx mint@^4.1.0"
1916
},
2017
"packageManager": "pnpm@10.28.0"
2118
}

0 commit comments

Comments
 (0)