We welcome contributions to improve the Agno documentation! Please read our CONTRIBUTING.md for detailed guidelines on:
- How to set up your development environment
- Pull request and branch naming conventions
- Documentation structure and writing guidelines
- Testing and validation procedures
Install the Mintlify CLI to run documentation site locally:
npm i -g mint
Run the following command at the root of your documentation (where docs.json is)
mint dev
Publish changes by pushing to the main branch
git add .
git commit -m "update message"
git push
-
In your local
agnorepo, run theAgentOScookbook containing all supported interfaces, using the latest version of Agno.python cookbook/agent_os/all_interfaces.py
-
Download the latest API reference files:
curl -o reference-api/openapi.json http://localhost:7777/openapi.json
Using swagger-cli:
swagger-cli bundle reference-api/openapi.json --outfile reference-api/openapi.yaml --type yaml
-
Delete all files in the
reference-api/schema/folder (the auto-generated files) -
Run
npx @mintlify/scraping@latest openapi-file reference-api/openapi.json -o reference-api/schemato generate the new API reference -
Update the
docs.jsonfile to include any new pages. -
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