mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix: mint CLI commands
This commit is contained in:
@@ -6,10 +6,10 @@ New to Mintlify. [Start Here](https://mintlify.com/docs/quickstart)
|
|||||||
|
|
||||||
## 👩💻 Development
|
## 👩💻 Development
|
||||||
|
|
||||||
Install the [Mintlify CLI](https://www.npmjs.com/package/mintlify) to preview the documentation changes locally. To install, use the following command
|
Install the [Mint CLI](https://www.npmjs.com/package/mint) to preview the documentation changes locally. To install, use the following command
|
||||||
|
|
||||||
```
|
```
|
||||||
npm i -g mintlify
|
npm i -g mint
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the following command at the root of your documentation (where mint.json is)
|
Run the following command at the root of your documentation (where mint.json is)
|
||||||
@@ -20,5 +20,5 @@ mint dev
|
|||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
- `mint dev` isn't running - Run `mintlify install` it'll re-install dependencies.
|
- `mint dev` isn't running - Run `mint update` to update the Mint CLI.
|
||||||
- Page loads as a 404 - Make sure you are running in a folder with `mint.json`. Check the `/docs` folder
|
- Page loads as a 404 - Make sure you are running in a folder with `mint.json`. Check the `/docs` folder
|
||||||
|
|||||||
@@ -43,16 +43,16 @@ docker compose -f docker-compose.dev.yml down
|
|||||||
|
|
||||||
We use [Mintlify](https://mintlify.com/) for our docs.
|
We use [Mintlify](https://mintlify.com/) for our docs.
|
||||||
|
|
||||||
#### Install Mintlify CLI.
|
#### Install Mint CLI.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm i -g mintlify
|
npm i -g mint
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn global add mintlify
|
yarn global add mint
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Running the docs
|
#### Running the docs
|
||||||
|
|||||||
@@ -26,5 +26,6 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@radix-ui/react-radio-group": "^1.1.3",
|
"@radix-ui/react-radio-group": "^1.1.3",
|
||||||
"secrets.js-grempe": "^2.0.0"
|
"secrets.js-grempe": "^2.0.0"
|
||||||
}
|
},
|
||||||
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user