
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
The Mint CLI is the easiest way to build Mintlify apps from the command line.
Built with ❤︎ by Mintlify
Download the Mint CLI using the following command
npm i -g mint
mint dev
Run this command at the root of your Mintlify project to preview changes locally.
Notes
mint dev
requires Node v19 or higher.Mintlify uses port 3000 by default. You can use the --port
flag to customize the port Mintlify runs on. For example, use this command to run in port 3333:
mint dev --port 3333
You will see an error like this if you try to run Mintlify in a port that's already taken:
Error: listen EADDRINUSE: address already in use :::3000
Steps you can take if the dev CLI is not working (After each step try to run mint dev
again):
docs.json
file.mint update
to ensure you have the most recent version of the CLI..mintlify
folder in your home directory and delete its contents.mint broken-links
Check for broken internal links in your Mintlify project.
mint rename <from> <to>
Rename a file in a Mintlify project and update all internal link references.
mint openapi-check <openapiFilenameOrUrl>
Check your OpenAPI file for errors. You can pass in a filename (e.g. ./openapi.yaml
) or a URL (e.g. https://petstore3.swagger.io/api/v3/openapi.json
).
mint update
Updates to the most recent version of the Mint CLI.
mint upgrade
Upgrade from mint.json
to docs.json
. This command creates a docs.json
from your existing mint.json
.
Create an account to start using Mintlify for your documentation.
FAQs
The Mintlify CLI
The npm package mint receives a total of 8,811 weekly downloads. As such, mint popularity was classified as popular.
We found that mint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.