Once you push the changes in this repo to the main
branch, it will go live to production at https://skulabs.com/api ... so be careful!
To get the latest changes you have a few options... There is a quick build process that must take place after you update the OpenAPI spec on a given environment. The build process automatically generates mdx files and updates the mint.json file accordingly.
This builds against https://api.skulabs.com/openapi
This builds against https://api-next.skulabs.com/openapi
This builds against http://localhost:3001/s/api/openapi
Once you run the build, you can preview the changes. mintlify dev
is the easiest way to view your changes.
Here's how to get started with the mintlify CLI...
Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command
npm i -g mintlify
Run the following command at the root of your documentation (where mint.json is). It will give you the URL that you can view the changes locally
mintlify dev
From Mintlify
Install the Mintlify GitHub App to autopropagate changes from youre repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.
(Note: this is already done, but right now only @DevBrent can push changes.)
- Mintlify dev isn't running - Run
mintlify install
it'll re-install dependencies. - Page loads as a 404 - Make sure you are running in a folder with
mint.json