Developer documentation for BOB Gateway - an intent-based bridge enabling Bitcoin users to access DeFi protocols with a single Bitcoin transaction.
Prerequisites:
- Node.js version 19 or higher
- A docs repository with a
docs.jsonfile
Install the Mintlify CLI to preview your documentation changes locally:
npm i -g mintRun the following command at the root of your documentation, where your docs.json is located:
mint devView your local preview at http://localhost:3000.
By default, Mintlify uses port 3000. You can customize the port using the --port flag:
mint dev --port 3333To ensure your local preview aligns with production, update the CLI:
mint updateTo identify any broken links in your documentation:
mint broken-linksInstall our GitHub app from your dashboard to propagate changes from your repo to your deployment. Changes are deployed to production automatically after pushing to the default branch.
- Dev environment isn't running: Run
mint updateto ensure you have the most recent version of the CLI. - Page loads as a 404: Make sure you are running in a folder with a valid
docs.json. - Error with "sharp" module on darwin-arm64: Remove the CLI (
npm remove -g mint), upgrade to Node v19+, and reinstall (npm i -g mint). - Unknown error: Delete the
~/.mintlifyfolder and runmint devagain.