Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wicked-houses-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@docs/mintlify": patch
---

Improved a method for how `mintlify` CLI is included when running development server locally.
14 changes: 4 additions & 10 deletions docs/docs.ensnode.io/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,18 @@
cd ensnode/docs/docs.ensnode.io
```

3. Install dependencies:
3. Start the local development server:

```bash
pnpm install
pnpm mint dev
```

4. Start the local development server:

```bash
pnpm dev
```

5. Open [http://localhost:3000](http://localhost:3000) in your browser
4. Open [http://localhost:3000](http://localhost:3000) in your browser

### Troubleshooting

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

## Publishing Changes

Expand Down
5 changes: 1 addition & 4 deletions docs/docs.ensnode.io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
},
"homepage": "https://github.com/namehash/ensnode/tree/main/docs/docs.ensnode.io",
"scripts": {
"dev": "mintlify dev"
},
"devDependencies": {
"mintlify": "^4.1.0"
"mint": "pnpm dlx mint@^4.1.0"
},
"packageManager": "pnpm@10.28.0"
}
Loading