This repository contains the official documentation for the AGG AI Proxy API, built with MkDocs Material.
- Install dependencies:
uv pip install -r pyproject.toml- Serve documentation locally:
mkdocs serve- Visit http://127.0.0.1:8000
mkdocs buildThe static site will be generated in the site/ directory.
Documentation is automatically deployed to GitHub Pages when changes are pushed to the main branch.
The deployment workflow:
- Triggers on changes to
docs/**,mkdocs.yml, or the workflow file - Builds the MkDocs site
- Deploys to GitHub Pages
docs/
├── index.md # Home page
├── quickstart.md # Getting started guide
├── authentication.md # Authentication guide
├── api/
│ ├── conversation.md # Conversation API reference
│ ├── tools.md # Tools API reference
│ └── files.md # Files API reference
└── examples/
├── basic.md # Basic usage examples
└── tools.md # Tool execution examples
Documentation configuration is in mkdocs.yml. It uses the Material theme with:
- Dark/light mode toggle
- Navigation tabs and sections
- Search functionality
- Code highlighting
- Syntax highlighting for multiple languages
When adding new documentation:
- Create markdown files in the
docs/directory - Update navigation in
mkdocs.ymlif needed - Test locally with
mkdocs serve - Commit and push to trigger deployment