Documentation
January 9, 2026 ยท View on GitHub
This directory contains the source files for the MkDocs documentation site.
Building the Documentation
Install Dependencies
uv sync --extra docs
Serve Locally
Start the development server:
mkdocs serve
The documentation will be available at http://127.0.0.1:8000
Build Static Site
Build the static HTML files:
mkdocs build
The output will be in the site/ directory.
Deploying to GitHub Pages
Automatic Deployment
If you have GitHub Actions set up, the documentation can be automatically deployed on push to main.
Manual Deployment
Deploy to GitHub Pages:
mkdocs gh-deploy --force
This will:
- Build the documentation
- Push the
site/directory to thegh-pagesbranch - Make it available at
https://yourusername.github.io/tradingbot25/
Documentation Structure
index.md- Homepagegetting-started/- Installation and quick start guidesarchitecture/- System design and architectureapi/- Auto-generated API documentation from docstringsdeployment/- Kubernetes and Helm deployment guidesguides/- In-depth tutorialsexamples/- Example bot implementations
Adding New Documentation
- Create a new markdown file in the appropriate directory
- Add it to the
navsection inmkdocs.yml - Build and test locally with
mkdocs serve
API Documentation
API documentation is automatically generated from docstrings using mkdocstrings. The API pages use the ::: module.Class syntax to include auto-generated documentation.