Documentation Guide¶
Guide for contributing to the LlamaStack Kubernetes Operator documentation.
Documentation Structure¶
The documentation is built with MkDocs and follows this structure:
docs/
├── content/
│ ├── index.md
│ ├── getting-started/
│ ├── how-to/
│ ├── reference/
│ ├── examples/
│ └── contributing/
└── mkdocs.yml
Writing Documentation¶
Markdown Guidelines¶
- Use clear, concise language
- Include code examples
- Add diagrams where helpful
- Follow the existing style
Code Examples¶
# Always include complete, working examples
apiVersion: llamastack.io/v1alpha1
kind: LlamaStackDistribution
metadata:
name: example
spec:
image: llamastack/llamastack:latest
Building Documentation¶
Local Development¶
# Install dependencies
pip install -r docs/requirements.txt
# Serve locally
make docs-serve
# Build static site
make docs-build
API Documentation¶
API documentation is auto-generated from Go types:
Contributing¶
- Edit markdown files in
docs/content/
- Test locally with
make docs-serve
- Submit a pull request