Prerequisites
- Node.js 19 or higher
- This repo (with a
docs.jsonin the docs directory)
Preview locally
Run the preview server
From the docs directory (where Open http://localhost:3000 to view the docs. Edits refresh automatically.
docs.json lives), run:Custom port
Check links
To find broken links in the docs:Deploying the docs
RocketLogs docs are built and served via your own pipeline (e.g. Docker or static host). Build the site using your configured process; the content is in this repo under thedocs/ directory.
Troubleshooting
Error: Could not load the "sharp" module (e.g. darwin-arm64)
Error: Could not load the "sharp" module (e.g. darwin-arm64)
Usually due to an outdated Node version. Try:
npm remove -g mint- Upgrade to Node v19 or higher
npm i -g mint
Other errors or odd behavior
Other errors or odd behavior
Delete the Mintlify cache: remove the
~/.mintlify folder, then run mint dev again. (The CLI is still named Mintlify; the docs brand is RocketLogs.)