Install the Mintlify CLI to run documentation site locally:
npm i -g mint
Run the following command at the root of your documentation (where mint.json is)
mint dev
Publish changes by pushing to the main branch
git add .
git commit -m "update message"
git push
- Run an
AgentOScookbook with the latest version of Agno - Run
curl -o reference-api/openapi.json http://localhost:7777/openapi.jsonto download the latest API reference - Delete all the other files in the
reference-apifolder. NOT THEoverviewfile. - Run
npx @mintlify/scraping@latest openapi-file reference-api/openapi.json -o reference-api/schemato generate the new API reference - Run
mint devto see the changes
- Mintlify dev isn't running - Run
mint updateit'll update dependencies. - Page loads as a 404 - Make sure you are running in a folder with
docs.json